diff options
author | Max Horn | 2002-09-13 12:28:53 +0000 |
---|---|---|
committer | Max Horn | 2002-09-13 12:28:53 +0000 |
commit | 14b16daf30ebf724c580cf524e551fb505b8edfa (patch) | |
tree | 157112cfa05bfdeb11ab637ad97f6d7769a6cd82 /scumm/actor.cpp | |
parent | 040b6c656ac11a6c0b8202d7e9ecb4d714c418e0 (diff) | |
download | scummvm-rg350-14b16daf30ebf724c580cf524e551fb505b8edfa.tar.gz scummvm-rg350-14b16daf30ebf724c580cf524e551fb505b8edfa.tar.bz2 scummvm-rg350-14b16daf30ebf724c580cf524e551fb505b8edfa.zip |
this was broken recently
svn-id: r4929
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 5353890c37..9790993403 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 >= (_vm->_realWidth / 2)) - theY = (_vm->_realWidth / 2) - 1; + if (theY >= _vm->_realHeight) + theY = _vm->_realHeight - 1; else if (theY < 0) theY = 0; scale = resptr[theY]; |