diff options
Diffstat (limited to 'engines/agi')
-rw-r--r-- | engines/agi/sprite.cpp | 2 | ||||
-rw-r--r-- | engines/agi/text.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/sprite.cpp b/engines/agi/sprite.cpp index 569481d772..e2b74e87bb 100644 --- a/engines/agi/sprite.cpp +++ b/engines/agi/sprite.cpp @@ -103,7 +103,7 @@ void SpritesMgr::blitPixel(uint8 *p, uint8 *end, uint8 col, int spr, int width, uint8 *p1; // Yes, get effective priority going down for (p1 = p; p1 < end && (epr = *p1 & 0xf0) < 0x30; p1 += width) - ; + ; if (p1 >= end) epr = 0x40; } else { diff --git a/engines/agi/text.cpp b/engines/agi/text.cpp index 778da0a527..af3881170a 100644 --- a/engines/agi/text.cpp +++ b/engines/agi/text.cpp @@ -560,7 +560,7 @@ char *AgiEngine::agiSprintf(const char *s) { // remove all leading 0 // don't remove the 3rd zero if 000 for (i = 0; z[i] == '0' && i < 14; i++) - ; + ; } else { i = 15 - i; } |