aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/scenery.cpp
diff options
context:
space:
mode:
authorSven Hesse2009-07-28 15:05:44 +0000
committerSven Hesse2009-07-28 15:05:44 +0000
commitf832d0fc5692133bb3c38c1b19e87f315a8a80fc (patch)
treee83716401d740146c5aa7afc6418bb1eece8587b /engines/gob/scenery.cpp
parent14114bf3976097ca3d92cb21fa6ac3b8e4abb010 (diff)
downloadscummvm-rg350-f832d0fc5692133bb3c38c1b19e87f315a8a80fc.tar.gz
scummvm-rg350-f832d0fc5692133bb3c38c1b19e87f315a8a80fc.tar.bz2
scummvm-rg350-f832d0fc5692133bb3c38c1b19e87f315a8a80fc.zip
Silencing two "empty loop body" warnings
svn-id: r42856
Diffstat (limited to 'engines/gob/scenery.cpp')
-rw-r--r--engines/gob/scenery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/scenery.cpp b/engines/gob/scenery.cpp
index 0780a85b04..568835dd37 100644
--- a/engines/gob/scenery.cpp
+++ b/engines/gob/scenery.cpp
@@ -185,7 +185,7 @@ int16 Scenery::loadStatic(char search) {
_staticPictToSprite[7 * sceneryIndex + i] = sprIndex;
_spriteRefs[sprIndex]++;
} else {
- for (sprIndex = 19; _vm->_draw->_spritesArray[sprIndex] != 0; sprIndex--);
+ for (sprIndex = 19; _vm->_draw->_spritesArray[sprIndex] != 0; sprIndex--) { }
_staticPictToSprite[7 * sceneryIndex + i] = sprIndex;
_spriteRefs[sprIndex] = 1;