summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-23 21:17:41 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-23 21:20:22 +0100
commitc4f0b4fb6d18d355c94e1bb6b8eba708e88ab0a1 (patch)
tree8e8ccfbfcf9b28696d2d0be8acb0e66566b27b77 /src
parentMore scaling macro (diff)
downloadre3-c4f0b4fb6d18d355c94e1bb6b8eba708e88ab0a1.tar
re3-c4f0b4fb6d18d355c94e1bb6b8eba708e88ab0a1.tar.gz
re3-c4f0b4fb6d18d355c94e1bb6b8eba708e88ab0a1.tar.bz2
re3-c4f0b4fb6d18d355c94e1bb6b8eba708e88ab0a1.tar.lz
re3-c4f0b4fb6d18d355c94e1bb6b8eba708e88ab0a1.tar.xz
re3-c4f0b4fb6d18d355c94e1bb6b8eba708e88ab0a1.tar.zst
re3-c4f0b4fb6d18d355c94e1bb6b8eba708e88ab0a1.zip
Diffstat (limited to '')
-rw-r--r--src/control/Script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index e1e1fbc2..1b1b9045 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -2140,7 +2140,7 @@ void CMissionCleanup::Process()
default:
break;
}
- RemoveEntityFromList(i, m_sEntities[i].type);
+ RemoveEntityFromList(m_sEntities[i].id, m_sEntities[i].type);
}
for (int i = 1; i < NUMSTREAMINFO; i++) {
if (CStreaming::IsScriptOwnedModel(i))