added flag

This commit is contained in:
Nikolay Korolev 2020-05-06 19:24:33 +03:00
parent 0930d70134
commit 53107d3b71
1 changed files with 2 additions and 1 deletions

View File

@ -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