aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2009-03-24 13:33:47 +0000
committerFilippos Karapetis2009-03-24 13:33:47 +0000
commitc65013faf27f45ae2321e7ad9883893f9cb7d4e1 (patch)
tree4bfdfab10fe9e80b838a321d82d68bd47d47d9d5
parentb76f7fea4eee59eb88d8028120bb1cae780f1c00 (diff)
downloadscummvm-rg350-c65013faf27f45ae2321e7ad9883893f9cb7d4e1.tar.gz
scummvm-rg350-c65013faf27f45ae2321e7ad9883893f9cb7d4e1.tar.bz2
scummvm-rg350-c65013faf27f45ae2321e7ad9883893f9cb7d4e1.zip
Fixed a regression of commit #35473. Fixes bug #2703595 - "ITE: Crash when clicking on items inside the hangar"
svn-id: r39664
-rw-r--r--engines/saga/actor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/actor.cpp b/engines/saga/actor.cpp
index 8b61a9a849..8ad719e540 100644
--- a/engines/saga/actor.cpp
+++ b/engines/saga/actor.cpp
@@ -119,7 +119,7 @@ Actor::Actor(SagaEngine *vm) : _vm(vm) {
_pathRect.left = 0;
_pathRect.right = _vm->getDisplayInfo().width;
_pathRect.top = _vm->getDisplayInfo().pathStartY;
- _pathRect.bottom = _vm->getDisplayInfo().height;
+ _pathRect.bottom = _vm->_scene->getHeight();
// Get actor resource file context
_actorContext = _vm->_resource->getContext(GAME_RESOURCEFILE);