diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-02 20:41:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-02 20:41:01 +0300 |
commit | 1dab21b236d76900f3ddd2be32f9590aef394c2d (patch) | |
tree | 9ff63d2bf544a440c5d8de41faa401e900898012 /src/being.cpp | |
parent | f4f16b2fd6c455cd38e089a97db374c5ee3ea9fd (diff) | |
download | mv-1dab21b236d76900f3ddd2be32f9590aef394c2d.tar.gz mv-1dab21b236d76900f3ddd2be32f9590aef394c2d.tar.bz2 mv-1dab21b236d76900f3ddd2be32f9590aef394c2d.tar.xz mv-1dab21b236d76900f3ddd2be32f9590aef394c2d.zip |
Remove most C casts.
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp index b08e95e96..1f637ef06 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -2271,7 +2271,8 @@ void Being::recalcSpritesOrder() mSpriteHide[remSprite] = repIt->second; if (repIt->second != 1) { - if ((unsigned)remSprite != hairSlot) + if (static_cast<unsigned>(remSprite) + != hairSlot) { setSprite(remSprite, repIt->second, mSpriteColors[remSprite], |