summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
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];