mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-26 05:25:42 +00:00
fixed zone bug
This commit is contained in:
parent
90b624a3e0
commit
55c9a81922
1 changed files with 8 additions and 8 deletions
|
@ -532,14 +532,14 @@ CTheZones::SetZonePedInfo(uint16 zoneid, uint8 day, int16 pedDensity,
|
|||
info->gangPedThreshold[8] = gang8Density;
|
||||
|
||||
info->gangPedThreshold[0] += info->copPedThreshold;
|
||||
info->gangPedThreshold[1] = info->gangPedThreshold[0];
|
||||
info->gangPedThreshold[2] = info->gangPedThreshold[1];
|
||||
info->gangPedThreshold[3] = info->gangPedThreshold[2];
|
||||
info->gangPedThreshold[4] = info->gangPedThreshold[3];
|
||||
info->gangPedThreshold[5] = info->gangPedThreshold[4];
|
||||
info->gangPedThreshold[6] = info->gangPedThreshold[5];
|
||||
info->gangPedThreshold[7] = info->gangPedThreshold[6];
|
||||
info->gangPedThreshold[8] = info->gangPedThreshold[7];
|
||||
info->gangPedThreshold[1] += info->gangPedThreshold[0];
|
||||
info->gangPedThreshold[2] += info->gangPedThreshold[1];
|
||||
info->gangPedThreshold[3] += info->gangPedThreshold[2];
|
||||
info->gangPedThreshold[4] += info->gangPedThreshold[3];
|
||||
info->gangPedThreshold[5] += info->gangPedThreshold[4];
|
||||
info->gangPedThreshold[6] += info->gangPedThreshold[5];
|
||||
info->gangPedThreshold[7] += info->gangPedThreshold[6];
|
||||
info->gangPedThreshold[8] += info->gangPedThreshold[7];
|
||||
}
|
||||
|
||||
//--MIAMI: unused
|
||||
|
|
Loading…
Reference in a new issue