diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-08 14:17:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-08 14:17:07 +0200 |
commit | 5966e627f007d7d28b9073c01db73428e0b2796d (patch) | |
tree | a08eec5f3a0d1210fb14282292e6cf60527ebfc8 /src/control/Script.cpp | |
parent | fix bug (diff) | |
download | re3-5966e627f007d7d28b9073c01db73428e0b2796d.tar re3-5966e627f007d7d28b9073c01db73428e0b2796d.tar.gz re3-5966e627f007d7d28b9073c01db73428e0b2796d.tar.bz2 re3-5966e627f007d7d28b9073c01db73428e0b2796d.tar.lz re3-5966e627f007d7d28b9073c01db73428e0b2796d.tar.xz re3-5966e627f007d7d28b9073c01db73428e0b2796d.tar.zst re3-5966e627f007d7d28b9073c01db73428e0b2796d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp index db36d766..18572573 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -9141,7 +9141,7 @@ int8 CRunningScript::ProcessCommands1100To1199(int32 command) assert(pVehicle); assert(pVehicle->m_vehType == VEHICLE_TYPE_CAR); CAutomobile* pCar = (CAutomobile*)pVehicle; - pCar->bTakeLessDamage = ScriptParams[1]; + pCar->bMoreResistantToDamage = ScriptParams[1]; return 0; } case COMMAND_SET_JAMES_CAR_ON_PATH_TO_PLAYER: |