mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 02:29:01 +00:00
Fix radio scroll when player controls disabled
This commit is contained in:
parent
232b5a04ba
commit
0542b1bd4d
1 changed files with 1 additions and 1 deletions
|
@ -527,7 +527,7 @@ cMusicManager::ServiceGameMode()
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#ifdef RADIO_SCROLL_TO_PREV_STATION
|
#ifdef RADIO_SCROLL_TO_PREV_STATION
|
||||||
else if(CPad::GetPad(0)->GetMouseWheelDownJustDown() || CPad::GetPad(0)->GetMouseWheelUpJustDown()) {
|
else if(!CPad::GetPad(0)->ArePlayerControlsDisabled() && (CPad::GetPad(0)->GetMouseWheelDownJustDown() || CPad::GetPad(0)->GetMouseWheelUpJustDown())) {
|
||||||
int scrollNext = ControlsManager.GetControllerKeyAssociatedWithAction(VEHICLE_CHANGE_RADIO_STATION, MOUSE);
|
int scrollNext = ControlsManager.GetControllerKeyAssociatedWithAction(VEHICLE_CHANGE_RADIO_STATION, MOUSE);
|
||||||
int scrollPrev = scrollNext == rsMOUSEWHEELUPBUTTON ? rsMOUSEWHEELDOWNBUTTON : scrollNext == rsMOUSEWHEELDOWNBUTTON ? rsMOUSEWHEELUPBUTTON : -1;
|
int scrollPrev = scrollNext == rsMOUSEWHEELUPBUTTON ? rsMOUSEWHEELDOWNBUTTON : scrollNext == rsMOUSEWHEELDOWNBUTTON ? rsMOUSEWHEELUPBUTTON : -1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue