cleanup whitespaces
svn-id: r11212
This commit is contained in:
parent
394c96b033
commit
409108df82
10 changed files with 13 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue