diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-07-20 18:32:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-07-20 21:40:23 +0300 |
commit | f3850f2cf7f4428eed3be0efe9a7c440b9e4d950 (patch) | |
tree | cba59ab97c58ef387af91f7af9b7523b3d44c4f7 /src/being.cpp | |
parent | 916433cb8ec57510af08fb5e1549076a7cb420d8 (diff) | |
download | manaverse-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.cpp | 7 |
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]; |