mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-25 01:01:49 +01:00
fix
This commit is contained in:
parent
2641cd6737
commit
83e4023dc0
@ -8056,7 +8056,7 @@ int8 CRunningScript::ProcessCommands900To999(int32 command)
|
|||||||
CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[0]);
|
CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[0]);
|
||||||
assert(pVehicle);
|
assert(pVehicle);
|
||||||
if (pVehicle->IsBike()) {
|
if (pVehicle->IsBike()) {
|
||||||
CBike* pBike = (CBike*)pBike;
|
CBike* pBike = (CBike*)pVehicle;
|
||||||
pBike->bWaterTight = ScriptParams[1] != 0;
|
pBike->bWaterTight = ScriptParams[1] != 0;
|
||||||
}
|
}
|
||||||
else if (pVehicle->IsCar()) {
|
else if (pVehicle->IsCar()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user