Allow ZScript to control saving and the automap

This commit is contained in:
nashmuhandes 2023-04-09 03:52:58 +08:00
commit 8204879ff8
9 changed files with 68 additions and 0 deletions

View file

@ -667,6 +667,12 @@ UNSAFE_CCMD (load)
UNSAFE_CCMD(save)
{
if ((primaryLevel->flags9 & LEVEL9_NOUSERSAVE))
{
Printf("%s\n", GStrings("SAVEDEAD"));
return;
}
if (argv.argc() < 2 || argv.argc() > 3 || argv[1][0] == 0)
{
Printf ("usage: save <filename> [description]\n");