mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-06 08:54:08 +00:00
CCarCtrl::GenerateOneRandomCar
This commit is contained in:
parent
f902136b6a
commit
7e753c2596
19 changed files with 275 additions and 41 deletions
|
@ -3089,7 +3089,7 @@ int8 CRunningScript::ProcessCommands300To399(int32 command)
|
|||
case COMMAND_SET_ZONE_CAR_INFO:
|
||||
{
|
||||
char label[12];
|
||||
int16 gangDensities[NUM_GANGS];
|
||||
int16 gangDensities[NUM_GANGS] = { 0 };
|
||||
int i;
|
||||
|
||||
CTheScripts::ReadTextLabelFromScript(&m_nIp, label);
|
||||
|
@ -9849,8 +9849,8 @@ int8 CRunningScript::ProcessCommands1200To1299(int32 command)
|
|||
case COMMAND_SET_ZONE_CIVILIAN_CAR_INFO:
|
||||
{
|
||||
char label[12];
|
||||
int16 carDensities[CCarCtrl::NUM_CAR_CLASSES];
|
||||
int16 boatDensities[CCarCtrl::NUM_BOAT_CLASSES];
|
||||
int16 carDensities[CCarCtrl::NUM_CAR_CLASSES] = { 0 };
|
||||
int16 boatDensities[CCarCtrl::NUM_BOAT_CLASSES] = { 0 };
|
||||
int i;
|
||||
|
||||
CTheScripts::ReadTextLabelFromScript(&m_nIp, label);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue