From 007fae107e5ff73626a43da9f5305e579d91df42 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 2 Dec 2010 17:01:05 +0000 Subject: [PATCH] - fix last commit SVN r3019 (trunk) --- src/d_iwad.cpp | 2 +- src/gi.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/d_iwad.cpp b/src/d_iwad.cpp index 123f33f7d4..b02407b157 100644 --- a/src/d_iwad.cpp +++ b/src/d_iwad.cpp @@ -174,7 +174,7 @@ void FIWadManager::ParseIWadInfo(const char *fn, const char *data, int datasize) else if(sc.Compare("Extended")) iwad->flags |= GI_MENUHACK_EXTENDED; else if(sc.Compare("Shorttex")) iwad->flags |= GI_COMPATSHORTTEX; else if(sc.Compare("Stairs")) iwad->flags |= GI_COMPATSTAIRS; - else if(sc.Compare("Portals")) iwad->flags |= GI_BADPORTALS; + else if(sc.Compare("Portals")) iwad->flags |= GI_COMPATPORTAL; else sc.ScriptError(NULL); } while (sc.CheckString(",")); diff --git a/src/gi.h b/src/gi.h index 4240526250..0af160b6b5 100644 --- a/src/gi.h +++ b/src/gi.h @@ -47,6 +47,7 @@ #define GI_COMPATPOLY1 0x00000040 // Hexen's MAP36 needs old polyobject drawing #define GI_COMPATPOLY2 0x00000080 // so does HEXDD's MAP47 #define GI_NOTEXTCOLOR 0x00000100 +#define GI_COMPATPORTAL 0x00000200 // same for stairbuilding #include "gametype.h"