diff options
Diffstat (limited to 'src/control')
-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()) { |