This commit is contained in:
Nikolay Korolev 2020-06-05 12:59:27 +03:00
parent 2641cd6737
commit 83e4023dc0

View File

@ -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()) {