diff --git a/src/g_levellocals.h b/src/g_levellocals.h index dedb0293a..cc2887557 100644 --- a/src/g_levellocals.h +++ b/src/g_levellocals.h @@ -45,6 +45,8 @@ #include "p_destructible.h" +extern int i_compatflags, i_compatflags2; + struct FLevelData { TArray vertexes; @@ -89,6 +91,9 @@ struct FLevelLocals : public FLevelData void SetInterMusic(const char *nextmap); void SetMusicVolume(float v); + int li_compatflags = i_compatflags; + int li_compatflags2 = i_compatflags2; + uint8_t md5[16]; // for savegame validation. If the MD5 does not match the savegame won't be loaded. int time; // time in the hub int maptime; // time in the map