fix bug
This commit is contained in:
parent
8ee98574ff
commit
5966e627f0
@ -9141,7 +9141,7 @@ int8 CRunningScript::ProcessCommands1100To1199(int32 command)
|
|||||||
assert(pVehicle);
|
assert(pVehicle);
|
||||||
assert(pVehicle->m_vehType == VEHICLE_TYPE_CAR);
|
assert(pVehicle->m_vehType == VEHICLE_TYPE_CAR);
|
||||||
CAutomobile* pCar = (CAutomobile*)pVehicle;
|
CAutomobile* pCar = (CAutomobile*)pVehicle;
|
||||||
pCar->bTakeLessDamage = ScriptParams[1];
|
pCar->bMoreResistantToDamage = ScriptParams[1];
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
case COMMAND_SET_JAMES_CAR_ON_PATH_TO_PLAYER:
|
case COMMAND_SET_JAMES_CAR_ON_PATH_TO_PLAYER:
|
||||||
|
Loading…
Reference in New Issue
Block a user