diff options
Diffstat (limited to 'sword2/scroll.cpp')
-rw-r--r-- | sword2/scroll.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sword2/scroll.cpp b/sword2/scroll.cpp index 49719524bf..4caf606f7d 100644 --- a/sword2/scroll.cpp +++ b/sword2/scroll.cpp @@ -52,13 +52,13 @@ void Sword2Engine::setScrolling(void) { if (_thisScreen.max_scroll_offset_x > SCROLL_X) _thisScreen.scroll_offset_x = SCROLL_X; else - _thisScreen.scroll_offset_x = _thisScreen.max_scroll_offset_x; + _thisScreen.scroll_offset_x = _thisScreen.max_scroll_offset_x; // ensure not too far down if (_thisScreen.max_scroll_offset_y > SCROLL_Y) _thisScreen.scroll_offset_y = SCROLL_Y; else - _thisScreen.scroll_offset_y = _thisScreen.max_scroll_offset_y; + _thisScreen.scroll_offset_y = _thisScreen.max_scroll_offset_y; } else { // George's offset from the centre - the desired position // for him |