diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-06-05 11:59:27 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-06-05 11:59:27 +0200 |
commit | 83e4023dc0db52d3982dcbe4148f2c77b5a48b97 (patch) | |
tree | 79157d3da8c47b971a14d1d410110ab90a22e0db /src/control | |
parent | Merge pull request #618 from Nick007J/miami (diff) | |
download | re3-83e4023dc0db52d3982dcbe4148f2c77b5a48b97.tar re3-83e4023dc0db52d3982dcbe4148f2c77b5a48b97.tar.gz re3-83e4023dc0db52d3982dcbe4148f2c77b5a48b97.tar.bz2 re3-83e4023dc0db52d3982dcbe4148f2c77b5a48b97.tar.lz re3-83e4023dc0db52d3982dcbe4148f2c77b5a48b97.tar.xz re3-83e4023dc0db52d3982dcbe4148f2c77b5a48b97.tar.zst re3-83e4023dc0db52d3982dcbe4148f2c77b5a48b97.zip |
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()) { |