mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Match CAudio::GetRadioStation()
This commit is contained in:
parent
579045472a
commit
e9607a89f9
@ -26,9 +26,9 @@ int CAudio::GetRadioStation()
|
||||
_asm mov al, [ecx+233]
|
||||
_asm mov iRadioStation, eax
|
||||
|
||||
if(iRadioStation <= 12) return iRadioStation;
|
||||
if(iRadioStation < 0 || iRadioStation > 12) return -1;
|
||||
|
||||
return -1;
|
||||
return iRadioStation;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user