From f629a328199708de7c35eba32eb17b6f69586df4 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 22 Aug 2016 13:06:20 +0300 Subject: WINTERMUTE: Fix compilation with MSVC Change the way that EXTENDED_DEBUGGER_ENABLED is checked. The way it was used, it triggered a fatal error C1017 --- engines/wintermute/base/base_game.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/wintermute/base/base_game.h') diff --git a/engines/wintermute/base/base_game.h b/engines/wintermute/base/base_game.h index 409cc20ba4..6aacc1feab 100644 --- a/engines/wintermute/base/base_game.h +++ b/engines/wintermute/base/base_game.h @@ -36,7 +36,7 @@ #include "engines/wintermute/math/rect32.h" #include "engines/wintermute/debugger.h" #include "common/events.h" -#if EXTENDED_DEBUGGER_ENABLED == true +#if EXTENDED_DEBUGGER_ENABLED #include "engines/wintermute/base/scriptables/debuggable/debuggable_script_engine.h" #endif @@ -152,7 +152,7 @@ public: BaseRenderer *_renderer; BaseSoundMgr *_soundMgr; -#if EXTENDED_DEBUGGER_ENABLED == true +#if EXTENDED_DEBUGGER_ENABLED DebuggableScEngine *_scEngine; #else ScEngine *_scEngine; -- cgit v1.2.3