summaryrefslogtreecommitdiffstats
path: root/src/control/Script7.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-21 22:11:36 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-21 22:11:36 +0100
commite8db0e3abb52c465d842133c09ea320a820e3121 (patch)
treecf5a011373899891c6a191f024839a29d018d8fb /src/control/Script7.cpp
parentMore fonts (diff)
parentMerge remote-tracking branch 'origin/miami' into lcs (diff)
downloadre3-e8db0e3abb52c465d842133c09ea320a820e3121.tar
re3-e8db0e3abb52c465d842133c09ea320a820e3121.tar.gz
re3-e8db0e3abb52c465d842133c09ea320a820e3121.tar.bz2
re3-e8db0e3abb52c465d842133c09ea320a820e3121.tar.lz
re3-e8db0e3abb52c465d842133c09ea320a820e3121.tar.xz
re3-e8db0e3abb52c465d842133c09ea320a820e3121.tar.zst
re3-e8db0e3abb52c465d842133c09ea320a820e3121.zip
Diffstat (limited to 'src/control/Script7.cpp')
-rw-r--r--src/control/Script7.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/control/Script7.cpp b/src/control/Script7.cpp
index a5c8e717..f7694055 100644
--- a/src/control/Script7.cpp
+++ b/src/control/Script7.cpp
@@ -793,6 +793,7 @@ int8 CRunningScript::ProcessCommands1300To1399(int32 command)
CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[0]);
script_assert(pVehicle);
pVehicle->bIsFrozen = ScriptParams[1];
+ pVehicle->bInfiniteMass = ScriptParams[1];
return 0;
}
case COMMAND_HAS_CHAR_BEEN_DAMAGED_BY_CHAR:
@@ -1109,6 +1110,7 @@ int8 CRunningScript::ProcessCommands1300To1399(int32 command)
CObject* pObject = CPools::GetObjectPool()->GetAt(ScriptParams[0]);
script_assert(pObject);
pObject->bIsFrozen = ScriptParams[1];
+ pObject->bInfiniteMass = ScriptParams[1];
return 0;
}
case COMMAND_SET_PLAYER_HAS_MET_DEBBIE_HARRY: