diff options
author | Strangerke | 2014-05-19 21:40:12 +0200 |
---|---|---|
committer | Strangerke | 2014-05-19 21:40:12 +0200 |
commit | 20c26931269871f599897d01cb93502bd58b1412 (patch) | |
tree | 991d6d617bd36905d29bc32f0979d4534802a076 /engines/mads | |
parent | 6d1fc8256f19e0b320b9b160b198f17af1cd14ff (diff) | |
download | scummvm-rg350-20c26931269871f599897d01cb93502bd58b1412.tar.gz scummvm-rg350-20c26931269871f599897d01cb93502bd58b1412.tar.bz2 scummvm-rg350-20c26931269871f599897d01cb93502bd58b1412.zip |
MADS: Fix scrolling check
Diffstat (limited to 'engines/mads')
-rw-r--r-- | engines/mads/animation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/animation.cpp b/engines/mads/animation.cpp index 089e21d08e..3e10fe9667 100644 --- a/engines/mads/animation.cpp +++ b/engines/mads/animation.cpp @@ -399,7 +399,7 @@ void Animation::loadInterface(UserInterface &interfaceSurface, MSurface &depthSu } bool Animation::hasScroll() const { - return (_header._scrollPosition.x != 0) || (_header._scrollPosition.x != 0); + return (_header._scrollPosition.x != 0) || (_header._scrollPosition.y != 0); } void Animation::update() { |