From 9a57f4239919370dd323d3962147daef91e32394 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 22 Dec 2008 14:36:58 +0000 Subject: logicalWidth -> width logicalHeight -> height svn-id: r35488 --- engines/saga/actor_walk.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/saga/actor_walk.cpp') diff --git a/engines/saga/actor_walk.cpp b/engines/saga/actor_walk.cpp index 97b8dc36c9..21643ac1de 100644 --- a/engines/saga/actor_walk.cpp +++ b/engines/saga/actor_walk.cpp @@ -101,7 +101,7 @@ bool Actor::validFollowerLocation(const Location &location) { Point point; location.toScreenPointXY(point); - if ((point.x < 5) || (point.x >= _vm->getDisplayInfo().logicalWidth - 5) || + if ((point.x < 5) || (point.x >= _vm->getDisplayInfo().width - 5) || (point.y < 0) || (point.y > _vm->_scene->getHeight())) { return false; } @@ -856,7 +856,7 @@ bool Actor::followProtagonist(ActorData *actor) { newLocation.y += _vm->_rnd.getRandomNumber(prefer1.y - 1) - prefer1.y / 2; } - newLocation.x = CLIP(newLocation.x, -31 * 4, (_vm->getDisplayInfo().logicalWidth + 31) * 4); + newLocation.x = CLIP(newLocation.x, -31 * 4, (_vm->getDisplayInfo().width + 31) * 4); return actorWalkTo(actor->_id, newLocation); } -- cgit v1.2.3