aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
diff options
context:
space:
mode:
authorMax Horn2007-12-25 23:33:08 +0000
committerMax Horn2007-12-25 23:33:08 +0000
commitd104637a3acf2dcf32950ffa73dfa976c9f1f141 (patch)
treed1b8b7f6403cbbb4070dddc3f9d0945e69808e78 /engines/agi
parent27bd7ef2f475fd2592fcdc13d758532618ce34c8 (diff)
downloadscummvm-rg350-d104637a3acf2dcf32950ffa73dfa976c9f1f141.tar.gz
scummvm-rg350-d104637a3acf2dcf32950ffa73dfa976c9f1f141.tar.bz2
scummvm-rg350-d104637a3acf2dcf32950ffa73dfa976c9f1f141.zip
Do not use abort (for that matter, shouldn't used exit(), either, but we (ab)use that in various places anyway...)
svn-id: r29994
Diffstat (limited to 'engines/agi')
-rw-r--r--engines/agi/loader_v2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/loader_v2.cpp b/engines/agi/loader_v2.cpp
index 3c5bbf900a..2ace4e7e6b 100644
--- a/engines/agi/loader_v2.cpp
+++ b/engines/agi/loader_v2.cpp
@@ -169,7 +169,7 @@ uint8 *AgiLoader_v2::loadVolRes(struct AgiDir *agid) {
if (data != NULL) {
fp.read(data, agid->len);
} else {
- abort();
+ exit(1);
}
} else {
report("Error: bad signature %04x\n", sig);