summaryrefslogtreecommitdiffstats
path: root/src/entities
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-06 18:24:33 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-06 18:24:33 +0200
commit53107d3b716eb14f8141218bd4dae2e3b0b168e2 (patch)
tree2499d662c6b962780e1f85f69a9b0b2a825abcb6 /src/entities
parentIsStatic (diff)
downloadre3-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 'src/entities')
-rw-r--r--src/entities/Physical.cpp3
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