mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-27 22:20:49 +00:00
Don't accept KEY_PAUSE for control console command
This commit is contained in:
parent
2acad7ad86
commit
9bdab67de6
1 changed files with 2 additions and 0 deletions
|
@ -814,6 +814,8 @@ static void setcontrol(INT32 (*gc)[2], INT32 na)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
keynum = G_KeyStringtoNum(COM_Argv(2));
|
keynum = G_KeyStringtoNum(COM_Argv(2));
|
||||||
|
if (keynum == KEY_PAUSE) // fail silently; pause is hardcoded
|
||||||
|
return;
|
||||||
G_CheckDoubleUsage(keynum);
|
G_CheckDoubleUsage(keynum);
|
||||||
gc[numctrl][0] = keynum;
|
gc[numctrl][0] = keynum;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue