Revert "First batch of fixes (CallAndMessage)"

This reverts commit 7a3b80a9b7.
This commit is contained in:
Filip Gawin
2021-01-31 21:06:38 +01:00
parent 7a3b80a9b7
commit 3d4791f291
15 changed files with 49 additions and 139 deletions

View File

@@ -971,10 +971,8 @@ int8 CRunningScript::ProcessCommands1100To1199(int32 command)
pClosestEntity = apEntities[i];
}
}
#ifdef FIX_BUGS
if(pClosestEntity)
#endif
if(pClosestEntity->IsDummy()) pClosestEntity = nil;
if (pClosestEntity->IsDummy())
pClosestEntity = nil;
}
if (pClosestEntity) {
script_assert(pClosestEntity->IsObject());