From f61fdef99623f0c76b692aa04fb89dbd613bfd09 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 8 Sep 2003 17:30:24 +0000 Subject: fixed disabling of modules svn-id: r10102 --- common/engine.cpp | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/engine.cpp b/common/engine.cpp index b6b2d1092d..0ceb7e5751 100644 --- a/common/engine.cpp +++ b/common/engine.cpp @@ -247,9 +247,18 @@ void checkHeap() { // EngineFactory _factories[] = { - Engine_SKY_create, +#ifndef DISABLE_SCUMM Engine_SCUMM_create, +#endif +#ifndef DISABLE_SCUMM Engine_SIMON_create, - Engine_SWORD2_create +#endif +#ifndef DISABLE_SCUMM + Engine_SKY_create, +#endif +#ifndef DISABLE_SCUMM + Engine_SWORD2_create, +#endif + 0 }; -- cgit v1.2.3