mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-06 23:13:20 +00:00
in lieu of a case-insensitive startswith
This commit is contained in:
parent
3d5639c864
commit
c42de4ec8c
1 changed files with 2 additions and 1 deletions
|
|
@ -2451,7 +2451,8 @@ bool CallFunc_MusicRemap(ACSVM::Thread *thread, const ACSVM::Word *argV, ACSVM::
|
|||
tune = tuneStr->str;
|
||||
|
||||
// Do not allow ACS to remap Stereo Mode tunes.
|
||||
if (fasticmp("stere", tune))
|
||||
if (strlen(tune) > 5
|
||||
&& toupper(tune[0]) == 'S' && toupper(tune[1]) == 'T' && toupper(tune[2]) == 'E' && toupper(tune[3]) == 'R' && toupper(tune[4]) == 'E')
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue