summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-20 18:32:41 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-20 21:40:23 +0300
commitf3850f2cf7f4428eed3be0efe9a7c440b9e4d950 (patch)
treecba59ab97c58ef387af91f7af9b7523b3d44c4f7 /src/being.cpp
parent916433cb8ec57510af08fb5e1549076a7cb420d8 (diff)
downloadmanaverse-f3850f2cf7f4428eed3be0efe9a7c440b9e4d950.tar.gz
manaverse-f3850f2cf7f4428eed3be0efe9a7c440b9e4d950.tar.bz2
manaverse-f3850f2cf7f4428eed3be0efe9a7c440b9e4d950.tar.xz
manaverse-f3850f2cf7f4428eed3be0efe9a7c440b9e4d950.zip
Fix code style.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 2f1555246..eddf44991 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -41,13 +41,8 @@
#include "sprite.h"
#include "text.h"
-#include "gui/buydialog.h"
-#include "gui/buyselldialog.h"
#include "gui/equipmentwindow.h"
#include "gui/gui.h"
-#include "gui/npcdialog.h"
-#include "gui/npcpostdialog.h"
-#include "gui/selldialog.h"
#include "gui/socialwindow.h"
#include "gui/speechbubble.h"
#include "gui/theme.h"
@@ -2672,7 +2667,7 @@ Gender Being::intToGender(uint8_t sex)
int Being::getSpriteID(int slot)
{
- if (slot < 0 || (unsigned)slot >= mSpriteIDs.size())
+ if (slot < 0 || static_cast<unsigned>(slot) >= mSpriteIDs.size())
return -1;
return mSpriteIDs[slot];