diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-06 18:24:33 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-06 18:24:33 +0200 |
commit | 53107d3b716eb14f8141218bd4dae2e3b0b168e2 (patch) | |
tree | 2499d662c6b962780e1f85f69a9b0b2a825abcb6 /src | |
parent | IsStatic (diff) | |
download | re3-53107d3b716eb14f8141218bd4dae2e3b0b168e2.tar re3-53107d3b716eb14f8141218bd4dae2e3b0b168e2.tar.gz re3-53107d3b716eb14f8141218bd4dae2e3b0b168e2.tar.bz2 re3-53107d3b716eb14f8141218bd4dae2e3b0b168e2.tar.lz re3-53107d3b716eb14f8141218bd4dae2e3b0b168e2.tar.xz re3-53107d3b716eb14f8141218bd4dae2e3b0b168e2.tar.zst re3-53107d3b716eb14f8141218bd4dae2e3b0b168e2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/entities/Physical.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/entities/Physical.cpp b/src/entities/Physical.cpp index bbe69167..987cc293 100644 --- a/src/entities/Physical.cpp +++ b/src/entities/Physical.cpp @@ -218,7 +218,8 @@ CPhysical::GetBoundRect(void) void CPhysical::AddToMovingList(void) { - m_movingListNode = CWorld::GetMovingEntityList().InsertItem(this); + if (!bIsStaticWaitingForCollision) + m_movingListNode = CWorld::GetMovingEntityList().InsertItem(this); } void |