From a804152443dc4215625de52f6d81f5e394517465 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 16 Apr 2005 12:42:09 +0000 Subject: [PATCH] cleanup svn-id: r17623 --- scumm/resource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scumm/resource.cpp b/scumm/resource.cpp index 95b39b27b09..a9cacdf8772 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);