aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2005-04-16 12:42:09 +0000
committerMax Horn2005-04-16 12:42:09 +0000
commita804152443dc4215625de52f6d81f5e394517465 (patch)
treeb543b0c1dea82c49e9dc7d009d820dd896cbf12e /scumm
parent90217a59af11bab4ff3b8bf510a0d5274ba28053 (diff)
downloadscummvm-rg350-a804152443dc4215625de52f6d81f5e394517465.tar.gz
scummvm-rg350-a804152443dc4215625de52f6d81f5e394517465.tar.bz2
scummvm-rg350-a804152443dc4215625de52f6d81f5e394517465.zip
cleanup
svn-id: r17623
Diffstat (limited to 'scumm')
-rw-r--r--scumm/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index 95b39b27b0..a9cacdf877 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -122,7 +122,7 @@ void ScummEngine::openRoom(const int room) {
sprintf(buf, "%s.he%.1d", _gameName.c_str(), room == 0 ? 0 : 1);
} else if (_version >= 7) {
if (room > 0 && (_version == 8))
- VAR(VAR_CURRENTDISK) = res.roomno[rtRoom][room];
+ VAR(VAR_CURRENTDISK) = diskNumber;
sprintf(buf, "%s.la%d", _gameName.c_str(), diskNumber);
sprintf(buf2, "%s.%.3d", _gameName.c_str(), diskNumber);