aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/puzzle.cpp
diff options
context:
space:
mode:
authorMax Horn2011-02-07 23:01:06 +0000
committerMax Horn2011-02-07 23:01:06 +0000
commit2d1c8a35331d4c73032a6fcd50ab3f7a27513dbb (patch)
treea538852678f172dec297b83d115a7d76f2638969 /engines/saga/puzzle.cpp
parent377b4c67d99503b19e866ff47c685c57dd2a56e0 (diff)
downloadscummvm-rg350-2d1c8a35331d4c73032a6fcd50ab3f7a27513dbb.tar.gz
scummvm-rg350-2d1c8a35331d4c73032a6fcd50ab3f7a27513dbb.tar.bz2
scummvm-rg350-2d1c8a35331d4c73032a6fcd50ab3f7a27513dbb.zip
ALL: Fix whitespaces / indention
svn-id: r55818
Diffstat (limited to 'engines/saga/puzzle.cpp')
-rw-r--r--engines/saga/puzzle.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/saga/puzzle.cpp b/engines/saga/puzzle.cpp
index af81c3c670..0e08c84e43 100644
--- a/engines/saga/puzzle.cpp
+++ b/engines/saga/puzzle.cpp
@@ -191,7 +191,7 @@ void Puzzle::showPieces() {
SpriteList *spriteList;
_vm->_actor->getSpriteParams(puzzle, frameNumber, spriteList);
- for (int j = PUZZLE_PIECES - 1 ; j >= 0; j--) {
+ for (int j = PUZZLE_PIECES - 1; j >= 0; j--) {
int num = _piecePriority[j];
if (_puzzlePiece != num) {
@@ -350,9 +350,9 @@ void Puzzle::dropPiece(Point mousePt) {
spI = &((*spriteList)[_puzzlePiece]);
if (newx + spI->width > boxw)
- newx = boxw - spI->width ;
+ newx = boxw - spI->width;
if (newy + spI->height > boxh)
- newy = boxh - spI->height ;
+ newy = boxh - spI->height;
int x1 = ((newx - PUZZLE_X_OFFSET) & ~7) + PUZZLE_X_OFFSET;
int y1 = ((newy - PUZZLE_Y_OFFSET) & ~7) + PUZZLE_Y_OFFSET;