diff options
author | Nicola Mettifogo | 2007-06-16 11:22:23 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-06-16 11:22:23 +0000 |
commit | d3ced30c81411513855ea241f74b4e062c7b2666 (patch) | |
tree | 3ca509ee1de09ca345ec86f5fdf6db6599ad8c2f | |
parent | 987aaa6d81bf4aff816d5fc0ea69cf02262547bb (diff) | |
download | scummvm-rg350-d3ced30c81411513855ea241f74b4e062c7b2666.tar.gz scummvm-rg350-d3ced30c81411513855ea241f74b4e062c7b2666.tar.bz2 scummvm-rg350-d3ced30c81411513855ea241f74b4e062c7b2666.zip |
Fixed regression: crash when loading objects on Amiga.
svn-id: r27460
-rw-r--r-- | engines/parallaction/disk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/disk.cpp b/engines/parallaction/disk.cpp index 1761224a0c..7b11fbbbed 100644 --- a/engines/parallaction/disk.cpp +++ b/engines/parallaction/disk.cpp @@ -1071,9 +1071,9 @@ Cnv* AmigaDisk::loadObjects(const char *name) { char path[PATH_LEN]; if (_vm->getFeatures() & GF_DEMO) - sprintf(path, "objs/%s.objs", name); - else sprintf(path, "%s.objs", name); + else + sprintf(path, "objs/%s.objs", name); Common::SeekableReadStream *s = openArchivedFile(path, true); |