mirror of
https://gitlab.com/skmp/dca3-game.git
synced 2025-08-28 17:10:11 +02:00
script fix
This commit is contained in:
@@ -4333,7 +4333,7 @@ int8 CRunningScript::ProcessCommands400To499(int32 command)
|
|||||||
}
|
}
|
||||||
case COMMAND_SET_CAR_HEAVY:
|
case COMMAND_SET_CAR_HEAVY:
|
||||||
{
|
{
|
||||||
CollectParameters(&m_nIp, 1);
|
CollectParameters(&m_nIp, 2);
|
||||||
CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[0]);
|
CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[0]);
|
||||||
assert(pVehicle);
|
assert(pVehicle);
|
||||||
pVehicle->bIsHeavy = (ScriptParams[1] != 0);
|
pVehicle->bIsHeavy = (ScriptParams[1] != 0);
|
||||||
|
Reference in New Issue
Block a user