mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-19 18:12:06 +00:00
- Moved CheckCompatibility call so that it is done after setting LEVEL_HEXENFORMAT.
SVN r1418 (trunk)
This commit is contained in:
parent
5aecc8abf5
commit
9d5b92d231
1 changed files with 2 additions and 2 deletions
|
@ -3349,8 +3349,6 @@ void P_SetupLevel (char *lumpname, int position)
|
||||||
// note: most of this ordering is important
|
// note: most of this ordering is important
|
||||||
ForceNodeBuild = gennodes;
|
ForceNodeBuild = gennodes;
|
||||||
|
|
||||||
CheckCompatibility(map);
|
|
||||||
|
|
||||||
// [RH] Load in the BEHAVIOR lump
|
// [RH] Load in the BEHAVIOR lump
|
||||||
FBehavior::StaticUnloadModules ();
|
FBehavior::StaticUnloadModules ();
|
||||||
if (map->HasBehavior)
|
if (map->HasBehavior)
|
||||||
|
@ -3364,6 +3362,8 @@ void P_SetupLevel (char *lumpname, int position)
|
||||||
// If none has been defined in a map use the game's default.
|
// If none has been defined in a map use the game's default.
|
||||||
P_LoadTranslator(!level.info->Translator.IsEmpty()? level.info->Translator.GetChars() : gameinfo.translator);
|
P_LoadTranslator(!level.info->Translator.IsEmpty()? level.info->Translator.GetChars() : gameinfo.translator);
|
||||||
}
|
}
|
||||||
|
CheckCompatibility(map);
|
||||||
|
|
||||||
|
|
||||||
if (!map->HasBehavior || map->isText)
|
if (!map->HasBehavior || map->isText)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue