summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-07 16:31:54 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-07 16:31:54 +0100
commit9d6db921bd05089a8d0cc420685509b4da2e344b (patch)
treeddccc86affb287056f1d4ee549e9a9968bb74bb3
parentminor refactoring (diff)
downloadre3-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
-rw-r--r--src/control/Script.cpp11
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++){