mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 18:32:42 +01:00
- fix cop cars playing music instead of siren
This commit is contained in:
parent
d7e3ef0db7
commit
11d02e7bb0
@ -1627,7 +1627,10 @@ void DoDopplerSFX(void)
|
||||
|
||||
// play car music
|
||||
// vans in 'Caine's Compound' should not listen to it
|
||||
if (gCurrentMissionNumber != 7 && car_ptr->controlType == CONTROL_TYPE_CIV_AI && car_ptr->ap.model <= 2 && indexlist[i] == 1)
|
||||
if (gCurrentMissionNumber != 7 &&
|
||||
car_ptr->controlType == CONTROL_TYPE_CIV_AI &&
|
||||
car_ptr->ap.model > 0 && car_ptr->ap.model < 3 &&
|
||||
indexlist[i] == 1)
|
||||
{
|
||||
siren = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user