diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-06-05 12:59:27 +0300 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-06-05 12:59:27 +0300 |
commit | 83e4023dc0db52d3982dcbe4148f2c77b5a48b97 (patch) | |
tree | 79157d3da8c47b971a14d1d410110ab90a22e0db /src | |
parent | 2641cd6737cc4c309c9a68b160c8b6704aca217c (diff) |
fix
Diffstat (limited to 'src')
-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 15132f42..d62bed35 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -8056,7 +8056,7 @@ int8 CRunningScript::ProcessCommands900To999(int32 command) CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[0]); assert(pVehicle); if (pVehicle->IsBike()) { - CBike* pBike = (CBike*)pBike; + CBike* pBike = (CBike*)pVehicle; pBike->bWaterTight = ScriptParams[1] != 0; } else if (pVehicle->IsCar()) { |