diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-20 00:38:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-20 00:38:39 +0300 |
commit | cedc0666fb1841220d4fc24c8d08cadaf59c230c (patch) | |
tree | b0ea237c8b02123b35370dca3b4fc1996fd20f02 /src/compoundsprite.cpp | |
parent | 66ac465991763d0a4611fd6004453b35ef68d143 (diff) | |
download | manaverse-cedc0666fb1841220d4fc24c8d08cadaf59c230c.tar.gz manaverse-cedc0666fb1841220d4fc24c8d08cadaf59c230c.tar.bz2 manaverse-cedc0666fb1841220d4fc24c8d08cadaf59c230c.tar.xz manaverse-cedc0666fb1841220d4fc24c8d08cadaf59c230c.zip |
fix compound objects height.
Diffstat (limited to 'src/compoundsprite.cpp')
-rw-r--r-- | src/compoundsprite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compoundsprite.cpp b/src/compoundsprite.cpp index 45c047060..195a7ce2e 100644 --- a/src/compoundsprite.cpp +++ b/src/compoundsprite.cpp @@ -172,7 +172,7 @@ int CompoundSprite::getHeight() const { FOR_EACH (SpriteConstIterator, it, mSprites) { - const Sprite *const base = nullptr; + const Sprite *const base = *it; if (base) return base->getHeight(); } |