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:
Spoike 2005-09-14 04:20:19 +00:00
parent a8dfe93350
commit c2885176f3
1 changed files with 4 additions and 0 deletions

View File

@ -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)
{