From 20c26931269871f599897d01cb93502bd58b1412 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Mon, 19 May 2014 21:40:12 +0200 Subject: MADS: Fix scrolling check --- engines/mads/animation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- cgit v1.2.3