Added "support" for PCD_CONSOLECOMMAND in ACS

Now attempt to execute a console command from a script will not terminate its execution
An error message will be issued in the console on every such attempt
This commit is contained in:
alexey.lysiuk 2015-09-16 16:56:43 +03:00
parent 029fa1e691
commit 924a2aaaa7
1 changed files with 5 additions and 0 deletions

View File

@ -75,6 +75,7 @@
#include "actorptrselect.h"
#include "farchive.h"
#include "decallib.h"
#include "version.h"
#include "g_shared/a_pickups.h"
@ -9357,6 +9358,10 @@ scriptwait:
}
break;
case PCD_CONSOLECOMMAND:
Printf (TEXTCOLOR_RED GAMENAME " doesn't support execution of console commands from scripts\n");
sp -= 3;
break;
}
}