diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-16 18:04:17 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-16 18:06:10 +0100 |
commit | d25420a33be6e54836731adc4d8b6e1c1d2a2611 (patch) | |
tree | 291263e75306bcaf5c36888851ce25485d7e52a1 /src/control | |
parent | Merge branch 'miami' into lcs (diff) | |
download | re3-d25420a33be6e54836731adc4d8b6e1c1d2a2611.tar re3-d25420a33be6e54836731adc4d8b6e1c1d2a2611.tar.gz re3-d25420a33be6e54836731adc4d8b6e1c1d2a2611.tar.bz2 re3-d25420a33be6e54836731adc4d8b6e1c1d2a2611.tar.lz re3-d25420a33be6e54836731adc4d8b6e1c1d2a2611.tar.xz re3-d25420a33be6e54836731adc4d8b6e1c1d2a2611.tar.zst re3-d25420a33be6e54836731adc4d8b6e1c1d2a2611.zip |
Diffstat (limited to 'src/control')
-rw-r--r-- | src/control/Script7.cpp | 2 |
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: |