summaryrefslogtreecommitdiffstats
path: root/src/control/Script3.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-08-23 10:00:09 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2021-08-23 10:00:09 +0200
commit381d0b4e3ece226865a87498b77d644e0570331e (patch)
treefde1852932b0f6e488285e76e43291ef3b7d22be /src/control/Script3.cpp
parentFix ClearMissionAudio crash (diff)
downloadre3-381d0b4e3ece226865a87498b77d644e0570331e.tar
re3-381d0b4e3ece226865a87498b77d644e0570331e.tar.gz
re3-381d0b4e3ece226865a87498b77d644e0570331e.tar.bz2
re3-381d0b4e3ece226865a87498b77d644e0570331e.tar.lz
re3-381d0b4e3ece226865a87498b77d644e0570331e.tar.xz
re3-381d0b4e3ece226865a87498b77d644e0570331e.tar.zst
re3-381d0b4e3ece226865a87498b77d644e0570331e.zip
Diffstat (limited to 'src/control/Script3.cpp')
-rw-r--r--src/control/Script3.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/control/Script3.cpp b/src/control/Script3.cpp
index b0f529c0..e2646866 100644
--- a/src/control/Script3.cpp
+++ b/src/control/Script3.cpp
@@ -316,7 +316,6 @@ int8 CRunningScript::ProcessCommands500To599(int32 command)
CVehicle* pTarget;
if (GET_INTEGER_PARAM(1) >= 0) {
pTarget = CPools::GetVehiclePool()->GetAt(GET_INTEGER_PARAM(1));
- script_assert(pTarget);
}
else {
pTarget = nil;