aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Brown2002-03-02 12:21:06 +0000
committerJames Brown2002-03-02 12:21:06 +0000
commitddad6760a5d7db5786476ba95cc309ab80173c15 (patch)
tree698a3f6dd39f80b2d920f8442cb1fead8dda7154
parent0ad040d954345f279a2d79c780861b18c4703402 (diff)
downloadscummvm-rg350-ddad6760a5d7db5786476ba95cc309ab80173c15.tar.gz
scummvm-rg350-ddad6760a5d7db5786476ba95cc309ab80173c15.tar.bz2
scummvm-rg350-ddad6760a5d7db5786476ba95cc309ab80173c15.zip
LoomCD fix. Thanks khalek.
svn-id: r3640
-rw-r--r--resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/resource.cpp b/resource.cpp
index f0c1329a3f..f3733b7580 100644
--- a/resource.cpp
+++ b/resource.cpp
@@ -70,7 +70,7 @@ void Scumm::openRoom(int room) {
_encbyte = (_features & GF_USE_KEY) ? 0x69 : 0;
} else if(!(_features & GF_SMALL_NAMES)) {
if(room==0 || room>=900) {
- sprintf(buf, "%s//%.3d.lfl",_exe_name,room);
+ sprintf(buf, "%s%.3d.lfl",_gameDataPath,room);
_encbyte = 0;
if (openResourceFile(buf)) {
return;