summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-02 20:41:01 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-02 20:41:01 +0300
commit1dab21b236d76900f3ddd2be32f9590aef394c2d (patch)
tree9ff63d2bf544a440c5d8de41faa401e900898012 /src/being.cpp
parentf4f16b2fd6c455cd38e089a97db374c5ee3ea9fd (diff)
downloadManaVerse-1dab21b236d76900f3ddd2be32f9590aef394c2d.tar.gz
ManaVerse-1dab21b236d76900f3ddd2be32f9590aef394c2d.tar.bz2
ManaVerse-1dab21b236d76900f3ddd2be32f9590aef394c2d.tar.xz
ManaVerse-1dab21b236d76900f3ddd2be32f9590aef394c2d.zip
Remove most C casts.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp3
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],