diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-04-28 13:47:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-28 13:47:32 +0300 |
commit | fbcfa27edf518835976e140ec160db009186bc16 (patch) | |
tree | 52e2999ffe9ba3971f2b4334be7c8c42754a7e03 /src/map.cpp | |
parent | caf62e4d1c039f8d4d33bfd05f476890fdc79fcf (diff) | |
download | mv-fbcfa27edf518835976e140ec160db009186bc16.tar.gz mv-fbcfa27edf518835976e140ec160db009186bc16.tar.bz2 mv-fbcfa27edf518835976e140ec160db009186bc16.tar.xz mv-fbcfa27edf518835976e140ec160db009186bc16.zip |
Fix code style and add some checks.
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map.cpp b/src/map.cpp index 1ffe20dd4..f843479c0 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -108,8 +108,8 @@ bool TileAnimation::update(int ticks) Image *img = mAnimation->getCurrentImage(); if (img != mLastImage) { - for (TilePairVectorCIter i = mAffected.begin(), i_end = mAffected.end(); - i != i_end; ++i) + for (TilePairVectorCIter i = mAffected.begin(), + i_end = mAffected.end(); i != i_end; ++i) { if (i->first) i->first->setTile(i->second, img); |