summaryrefslogtreecommitdiff
path: root/src/player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.cpp')
-rw-r--r--src/player.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/player.cpp b/src/player.cpp
index abc01152..c5f0d6cd 100644
--- a/src/player.cpp
+++ b/src/player.cpp
@@ -188,6 +188,10 @@ void Player::setHairStyle(int style, int color)
void Player::setSprite(int slot, int id, const std::string &color)
{
+ // TODO: Find a better way
+ if (getType() == NPC)
+ return;
+
// id = 0 means unequip
if (id == 0)
{