summaryrefslogtreecommitdiff
path: root/src/npc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/npc.cpp')
-rw-r--r--src/npc.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/npc.cpp b/src/npc.cpp
index 2eebed7b..82b68af4 100644
--- a/src/npc.cpp
+++ b/src/npc.cpp
@@ -99,6 +99,12 @@ void NPC::setGender(int gender)
Being::setGender(gender);
}
+void NPC::setSprite(int slot, int id, std::string color)
+{
+ // Fix this later should it not be adequate enough.
+ Being::setSprite(slot, id, color);
+}
+
Being::Type
NPC::getType() const
{