aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2007-06-03 16:14:57 +0000
committerFilippos Karapetis2007-06-03 16:14:57 +0000
commit66f9032d014c4a1bd0076a93b97412549614152a (patch)
treebe02de0cf3512d8c0f1bcac5188af00b4e82fe64 /engines
parent0d77f50d6bfd651c1b66cd7a291a62befb86e286 (diff)
downloadscummvm-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.h4
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;