cleanup whitespaces

svn-id: r11212
This commit is contained in:
Paweł Kołodziejski 2003-11-08 19:47:20 +00:00
parent 394c96b033
commit 409108df82
10 changed files with 13 additions and 14 deletions

View file

@ -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