From 2bd2fe43c5b2514b9dc3e5d851dcb3affec78167 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 9 Mar 2009 02:25:29 +0000 Subject: Change Personal Nightmare support to optional, until setjmp/longjmp code is converted. svn-id: r39253 --- engines/agos/detection.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/agos/detection.cpp') diff --git a/engines/agos/detection.cpp b/engines/agos/detection.cpp index 59f603a905..7ecd6d3374 100644 --- a/engines/agos/detection.cpp +++ b/engines/agos/detection.cpp @@ -133,9 +133,11 @@ bool AgosMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGame bool res = true; switch (gd->gameType) { +#ifdef ENABLE_PN case AGOS::GType_PN: *engine = new AGOS::AGOSEngine_PN(syst); break; +#endif case AGOS::GType_ELVIRA1: *engine = new AGOS::AGOSEngine_Elvira1(syst); break; -- cgit v1.2.3