mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-01-19 15:01:13 +00:00
Added an emergency escape route if you somehow run an alias that loops infinatly. You're still an idiot if you do so, but shift+ctrl+alt at the same time will abort the alias. This may change at some point.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1316 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
a8dfe93350
commit
c2885176f3
1 changed files with 4 additions and 0 deletions
|
@ -1673,6 +1673,10 @@ void Cmd_ExecuteString (char *text, int level)
|
|||
{
|
||||
int i;
|
||||
int execlevel;
|
||||
extern qboolean keydown[];
|
||||
|
||||
if (keydown[K_SHIFT] && keydown[K_CTRL] && keydown[K_ALT])
|
||||
return;
|
||||
|
||||
if ((a->restriction?a->restriction:rcon_level.value) > level)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue