From 9d5b92d23158dffcdb87a6167b28773a7e11e860 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 8 Feb 2009 22:35:23 +0000 Subject: [PATCH] - Moved CheckCompatibility call so that it is done after setting LEVEL_HEXENFORMAT. SVN r1418 (trunk) --- src/p_setup.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_setup.cpp b/src/p_setup.cpp index 5465fec1c..7cb4806ab 100644 --- a/src/p_setup.cpp +++ b/src/p_setup.cpp @@ -3349,8 +3349,6 @@ void P_SetupLevel (char *lumpname, int position) // note: most of this ordering is important ForceNodeBuild = gennodes; - CheckCompatibility(map); - // [RH] Load in the BEHAVIOR lump FBehavior::StaticUnloadModules (); 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. P_LoadTranslator(!level.info->Translator.IsEmpty()? level.info->Translator.GetChars() : gameinfo.translator); } + CheckCompatibility(map); + if (!map->HasBehavior || map->isText) {