diff options
author | Max Horn | 2009-01-29 05:26:12 +0000 |
---|---|---|
committer | Max Horn | 2009-01-29 05:26:12 +0000 |
commit | ac59693be26b4239aaaf380896a1e1b753172546 (patch) | |
tree | b64a9b664917ed86e78e90560b034f0b1ee49054 /engines/agi/sprite.cpp | |
parent | a0a82d911c77b63f2069dbc39ab26394fe4d377d (diff) | |
download | scummvm-rg350-ac59693be26b4239aaaf380896a1e1b753172546.tar.gz scummvm-rg350-ac59693be26b4239aaaf380896a1e1b753172546.tar.bz2 scummvm-rg350-ac59693be26b4239aaaf380896a1e1b753172546.zip |
A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
svn-id: r36127
Diffstat (limited to 'engines/agi/sprite.cpp')
-rw-r--r-- | engines/agi/sprite.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/sprite.cpp b/engines/agi/sprite.cpp index 2735809ac5..5ca0d5ca1e 100644 --- a/engines/agi/sprite.cpp +++ b/engines/agi/sprite.cpp @@ -105,8 +105,8 @@ void SpritesMgr::blitPixel(uint8 *p, uint8 *end, uint8 col, int spr, int width, if ((pr = *p & 0xf0) < 0x30) { uint8 *p1; /* Yes, get effective priority going down */ - for (p1 = p; p1 < end && (epr = *p1 & 0xf0) < 0x30; - p1 += width); + for (p1 = p; p1 < end && (epr = *p1 & 0xf0) < 0x30; p1 += width) + ; if (p1 >= end) epr = 0x40; } else { |