diff options
author | Ira Rice <irarice@gmail.com> | 2008-10-25 21:33:59 +0000 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2008-10-25 21:33:59 +0000 |
commit | 6429efce8c5b17caf492adeba7d37a71fa3c4776 (patch) | |
tree | dbb3917d188668dfaedc30a960e1752de16a007f /src/npc.cpp | |
parent | da6d1acf73e3de0558548cd73006aadda33994f5 (diff) | |
download | mana-6429efce8c5b17caf492adeba7d37a71fa3c4776.tar.gz mana-6429efce8c5b17caf492adeba7d37a71fa3c4776.tar.bz2 mana-6429efce8c5b17caf492adeba7d37a71fa3c4776.tar.xz mana-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.cpp | 6 |
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 { |