diff --git a/src/g_level.cpp b/src/g_level.cpp index ebd19074a..24c43defd 100644 --- a/src/g_level.cpp +++ b/src/g_level.cpp @@ -882,6 +882,10 @@ void G_DoLoadLevel (int position, bool autosave) { level.flags2 &= ~LEVEL2_NOMONSTERS; } + if (changeflags & CHANGELEVEL_PRERAISEWEAPON) + { + level.flags2 |= LEVEL2_PRERAISEWEAPON; + } level.maptime = 0; P_SetupLevel (level.mapname, position); diff --git a/src/g_level.h b/src/g_level.h index 53b7cbf59..cdac4b862 100644 --- a/src/g_level.h +++ b/src/g_level.h @@ -500,6 +500,7 @@ enum CHANGELEVEL_CHANGESKILL = 8, CHANGELEVEL_NOINTERMISSION = 16, CHANGELEVEL_RESETHEALTH = 32, + CHANGELEVEL_PRERAISEWEAPON = 64, }; void G_ChangeLevel(const char *levelname, int position, int flags, int nextSkill=-1);