aboutsummaryrefslogtreecommitdiff
path: root/engines/chewy/scene.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2017-01-08 20:20:47 +0200
committerFilippos Karapetis2017-01-08 20:24:39 +0200
commit4dc6aa2d93a3e166891713549d73c4e40fe9f4f2 (patch)
tree1284d83e82aef27f6bbf21314bac22285f2f30aa /engines/chewy/scene.cpp
parentf3ea11f402102f88750e98dd5b55779695ff832f (diff)
downloadscummvm-rg350-4dc6aa2d93a3e166891713549d73c4e40fe9f4f2.tar.gz
scummvm-rg350-4dc6aa2d93a3e166891713549d73c4e40fe9f4f2.tar.bz2
scummvm-rg350-4dc6aa2d93a3e166891713549d73c4e40fe9f4f2.zip
CHEWY: Add console command to change scenes
Diffstat (limited to 'engines/chewy/scene.cpp')
-rw-r--r--engines/chewy/scene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/chewy/scene.cpp b/engines/chewy/scene.cpp
index c6c12fc3ff..0f12219078 100644
--- a/engines/chewy/scene.cpp
+++ b/engines/chewy/scene.cpp
@@ -177,7 +177,7 @@ void Scene::loadSceneInfo() {
for (int i = 0; i < MAX_HOTSPOTS; i++) {
_sceneInfo->hotspotDescRes[i] = indexFile.readUint16LE();
- if (_sceneInfo->hotspotDescRes[i] < kATSTextMax) {
+ if (_sceneInfo->hotspotDescRes[i] < 12) {
// TODO: Hotspot description IDs are off... investigate why
_sceneInfo->hotspotDesc[i] = text->getText(_curScene + kADSTextMax, _sceneInfo->hotspotDescRes[i])->text;
} else {