diff options
Diffstat (limited to 'engines/agi/loader_v3.cpp')
-rw-r--r-- | engines/agi/loader_v3.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/loader_v3.cpp b/engines/agi/loader_v3.cpp index 9f1255a43a..dcf7d83809 100644 --- a/engines/agi/loader_v3.cpp +++ b/engines/agi/loader_v3.cpp @@ -230,8 +230,8 @@ 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(); + + g_system->quit(); } agid->len = READ_LE_UINT16((uint8 *) x + 3); /* uncompressed size */ |