Fixed a regression of commit #35473. Fixes bug #2703595 - "ITE: Crash when clicking on items inside the hangar"

svn-id: r39664
This commit is contained in:
Filippos Karapetis 2009-03-24 13:33:47 +00:00
parent b76f7fea4e
commit c65013faf2

View file

@ -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);