diff options
author | Filippos Karapetis | 2007-06-03 16:14:57 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-06-03 16:14:57 +0000 |
commit | 66f9032d014c4a1bd0076a93b97412549614152a (patch) | |
tree | be02de0cf3512d8c0f1bcac5188af00b4e82fe64 /engines | |
parent | 0d77f50d6bfd651c1b66cd7a291a62befb86e286 (diff) | |
download | scummvm-rg350-66f9032d014c4a1bd0076a93b97412549614152a.tar.gz scummvm-rg350-66f9032d014c4a1bd0076a93b97412549614152a.tar.bz2 scummvm-rg350-66f9032d014c4a1bd0076a93b97412549614152a.zip |
Simplified check for scene height in IHNM
svn-id: r27067
Diffstat (limited to 'engines')
-rw-r--r-- | engines/saga/scene.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/saga/scene.h b/engines/saga/scene.h index 5b2d78ff37..2410f672e5 100644 --- a/engines/saga/scene.h +++ b/engines/saga/scene.h @@ -324,9 +324,7 @@ class Scene { void drawTextList(Surface *ds); int getHeight() const { - if (_vm->_interface->getMode() == kPanelChapterSelection) - return _vm->getDisplayInfo().logicalHeight; - else if (_vm->getGameType() == GType_IHNM && _vm->_scene->currentChapterNumber() == 8) + if (_vm->getGameType() == GType_IHNM && _vm->_scene->currentChapterNumber() == 8) return _vm->getDisplayInfo().logicalHeight; else return _vm->getDisplayInfo().sceneHeight; |