Changing local from snd to sfx to avoid conflicts with a certain
global.
This commit is contained in:
parent
23011d42e6
commit
ce87662850
1 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue