From a983c88e37196d56a70125a19bb7fc84cbd84fee Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 24 Sep 2009 17:24:42 +0000 Subject: Reverted parts of revisions #44292, #44293, #44295 and #44296, to prevent warnings and issues in compilers which don't support NORETURN svn-id: r44312 --- engines/agi/loader_v3.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines/agi') diff --git a/engines/agi/loader_v3.cpp b/engines/agi/loader_v3.cpp index 7e5e87d9a4..cd97c44521 100644 --- a/engines/agi/loader_v3.cpp +++ b/engines/agi/loader_v3.cpp @@ -218,8 +218,7 @@ uint8 *AgiLoader_v3::loadVolRes(AgiDir *agid) { debugC(3, kDebugLevelResources, "offset = %d", agid->offset); debugC(3, kDebugLevelResources, "x = %x %x", x[0], x[1]); error("ACK! BAD RESOURCE"); - - //_vm->quitGame(); + _vm->quitGame(); // for compilers that don't support NORETURN } agid->len = READ_LE_UINT16((uint8 *) x + 3); // uncompressed size -- cgit v1.2.3