summaryrefslogtreecommitdiff
path: root/src/npc.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-10-25 21:33:59 +0000
committerIra Rice <irarice@gmail.com>2008-10-25 21:33:59 +0000
commit6429efce8c5b17caf492adeba7d37a71fa3c4776 (patch)
treedbb3917d188668dfaedc30a960e1752de16a007f /src/npc.cpp
parentda6d1acf73e3de0558548cd73006aadda33994f5 (diff)
downloadmana-client-6429efce8c5b17caf492adeba7d37a71fa3c4776.tar.gz
mana-client-6429efce8c5b17caf492adeba7d37a71fa3c4776.tar.bz2
mana-client-6429efce8c5b17caf492adeba7d37a71fa3c4776.tar.xz
mana-client-6429efce8c5b17caf492adeba7d37a71fa3c4776.zip
Fixed NPC's so that clothes would draw again. However, if in the future
this isn't sufficient for attacking, movement, or other code, this will be changed to mimic the style used by the base class player.
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
{