diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-07 16:31:54 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-07 16:31:54 +0100 |
commit | 9d6db921bd05089a8d0cc420685509b4da2e344b (patch) | |
tree | ddccc86affb287056f1d4ee549e9a9968bb74bb3 /src/control/Script.cpp | |
parent | minor refactoring (diff) | |
download | re3-9d6db921bd05089a8d0cc420685509b4da2e344b.tar re3-9d6db921bd05089a8d0cc420685509b4da2e344b.tar.gz re3-9d6db921bd05089a8d0cc420685509b4da2e344b.tar.bz2 re3-9d6db921bd05089a8d0cc420685509b4da2e344b.tar.lz re3-9d6db921bd05089a8d0cc420685509b4da2e344b.tar.xz re3-9d6db921bd05089a8d0cc420685509b4da2e344b.tar.zst re3-9d6db921bd05089a8d0cc420685509b4da2e344b.zip |
Diffstat (limited to 'src/control/Script.cpp')
-rw-r--r-- | src/control/Script.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp index 79ef408e..23527e55 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -1693,17 +1693,6 @@ void CMissionCleanup::AddEntityToList(int32 id, uint8 type) m_nCount++; } -static void PossiblyWakeThisEntity(CPhysical* pEntity, bool ifColLoaded = false) -{ - if (!pEntity->bIsStaticWaitingForCollision) - return; - if (!ifColLoaded || CColStore::HasCollisionLoaded(pEntity->GetPosition())) { - pEntity->bIsStaticWaitingForCollision = false; - if (!pEntity->GetIsStatic()) - pEntity->AddToMovingList(); - } -} - void CMissionCleanup::RemoveEntityFromList(int32 id, uint8 type) { for (int i = 0; i < MAX_CLEANUP; i++){ |