Changing local from snd to sfx to avoid conflicts with a certain

global.
This commit is contained in:
Marco Cawthorne 2020-04-18 02:05:41 +02:00
parent 23011d42e6
commit ce87662850

View file

@ -393,9 +393,9 @@ void func_button::func_button(void)
break;
/* compatibility */
case "sounds":
int snd;
snd = stoi(argv(i+1));
m_strSndPressed = g_hlbutton_sfx[snd];
int sfx;
sfx = stoi(argv(i+1));
m_strSndPressed = g_hlbutton_sfx[sfx];
m_iSoundCompat = TRUE;
break;
default: