mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- Fixed wrong Skulltag ConsoleCommand pcode name.
Also report this pcode as not supported by the program.
This commit is contained in:
parent
cebd877191
commit
4e148f00e6
2 changed files with 6 additions and 2 deletions
|
@ -9574,8 +9574,12 @@ scriptwait:
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case PCD_CONSOLECOMMAND:
|
case PCD_CONSOLECOMMAND:
|
||||||
|
case PCD_CONSOLECOMMANDDIRECT:
|
||||||
Printf (TEXTCOLOR_RED GAMENAME " doesn't support execution of console commands from scripts\n");
|
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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -519,7 +519,7 @@ public:
|
||||||
/*130*/ PCD_LSPEC6DIRECT, // be given names like PCD_DUMMY.
|
/*130*/ PCD_LSPEC6DIRECT, // be given names like PCD_DUMMY.
|
||||||
PCD_PRINTNAME,
|
PCD_PRINTNAME,
|
||||||
PCD_MUSICCHANGE,
|
PCD_MUSICCHANGE,
|
||||||
PCD_TEAM2FRAGPOINTS,
|
PCD_CONSOLECOMMANDDIRECT,
|
||||||
PCD_CONSOLECOMMAND,
|
PCD_CONSOLECOMMAND,
|
||||||
PCD_SINGLEPLAYER, // [RH] End of Skull Tag p-codes
|
PCD_SINGLEPLAYER, // [RH] End of Skull Tag p-codes
|
||||||
PCD_FIXEDMUL,
|
PCD_FIXEDMUL,
|
||||||
|
|
Loading…
Reference in a new issue