From d3ced30c81411513855ea241f74b4e062c7b2666 Mon Sep 17 00:00:00 2001 From: Nicola Mettifogo Date: Sat, 16 Jun 2007 11:22:23 +0000 Subject: Fixed regression: crash when loading objects on Amiga. svn-id: r27460 --- engines/parallaction/disk.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/parallaction') 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); -- cgit v1.2.3