aboutsummaryrefslogtreecommitdiff
path: root/resource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'resource.cpp')
-rw-r--r--resource.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/resource.cpp b/resource.cpp
index adae2dd4c0..38ed41c1c4 100644
--- a/resource.cpp
+++ b/resource.cpp
@@ -96,6 +96,8 @@ void Scumm::openRoom(int room) {
if (openResourceFile(buf)) {
if (room==0)
return;
+ if (_features & GF_EXTERNAL_CHARSET && room>=roomlimit)
+ return;
readRoomsOffsets();
_fileOffset = _roomFileOffsets[room];