mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-24 02:40:00 +00: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 a new issue