GTAmodding / FramerateVigilante

Framerate Vigilante mission is a reverse engineering based side mission in Grand Theft Auto: San Andreas, in which the player is required to chase down and fix the framerate related issues in the game with unlocked framelimiter.
MIT License
86 stars 18 forks source link

[SA] Emergency horns can't be activated (SAMP) #13

Open shchpln opened 3 years ago

shchpln commented 3 years ago

So, emergency siren on police cars, firetrucks and ambulance doesn't work when playing in SA-MP. This bug happens every time there is another player (or players) in stream zone driving emergency car. As a result, pressing horn button on my side activates horns for that player's car. The horn button works correctly for my emergency car when that another player is streamed out.

shchpln commented 3 years ago

Seems like line 268 cause this bug: pad = vehicle->m_pDriver == CWorld::Players[0].m_pPed It chose wrong player ped ID in SAMP