diff options
Diffstat (limited to 'scumm/actor.cpp')
-rw-r--r-- | scumm/actor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp index 5a807b2313..5353890c37 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -366,8 +366,8 @@ void Actor::setupActorScale() if (resptr == NULL) error("Scale table %d not defined", scale); int theY = y; - if (theY >= 200) - theY = 199; + if (theY >= (_vm->_realWidth / 2)) + theY = (_vm->_realWidth / 2) - 1; else if (theY < 0) theY = 0; scale = resptr[theY]; |