diff options
author | Max Horn | 2007-12-25 23:33:08 +0000 |
---|---|---|
committer | Max Horn | 2007-12-25 23:33:08 +0000 |
commit | d104637a3acf2dcf32950ffa73dfa976c9f1f141 (patch) | |
tree | d1b8b7f6403cbbb4070dddc3f9d0945e69808e78 /engines/agi | |
parent | 27bd7ef2f475fd2592fcdc13d758532618ce34c8 (diff) | |
download | scummvm-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.cpp | 2 |
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); |