diff options
Diffstat (limited to 'src/actorsprite.cpp')
-rw-r--r-- | src/actorsprite.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/actorsprite.cpp b/src/actorsprite.cpp index 4611ddbd2..2b1fccc23 100644 --- a/src/actorsprite.cpp +++ b/src/actorsprite.cpp @@ -322,9 +322,8 @@ void ActorSprite::setupSpriteDisplay(const SpriteDisplay &display, { clear(); - SpriteRefs it, it_end; - - for (it = display.sprites.begin(), it_end = display.sprites.end(); + for (SpriteRefs it = display.sprites.begin(), + it_end = display.sprites.end(); it != it_end; ++it) { if (!*it) |