- Fixed wrong Skulltag ConsoleCommand pcode name.

Also report this pcode as not supported by the program.
This commit is contained in:
Edoardo Prezioso 2016-06-19 11:47:30 +02:00 committed by Christoph Oelckers
parent cebd877191
commit 4e148f00e6
2 changed files with 6 additions and 2 deletions

View File

@ -9574,8 +9574,12 @@ scriptwait:
break;
case PCD_CONSOLECOMMAND:
case PCD_CONSOLECOMMANDDIRECT:
Printf (TEXTCOLOR_RED GAMENAME " doesn't support execution of console commands from scripts\n");
sp -= 3;
if (pcd == PCD_CONSOLECOMMAND)
sp -= 3;
else
pc += 3;
break;
}
}

View File

@ -519,7 +519,7 @@ public:
/*130*/ PCD_LSPEC6DIRECT, // be given names like PCD_DUMMY.
PCD_PRINTNAME,
PCD_MUSICCHANGE,
PCD_TEAM2FRAGPOINTS,
PCD_CONSOLECOMMANDDIRECT,
PCD_CONSOLECOMMAND,
PCD_SINGLEPLAYER, // [RH] End of Skull Tag p-codes
PCD_FIXEDMUL,