diff options
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/being.cpp b/src/being.cpp index b77dfd7d..62081bb4 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -66,8 +66,6 @@ #include <cassert> #include <cmath> -int Being::mNumberOfHairstyles = 1; - Being::Being(int id, Type type, int subtype, Map *map): ActorSprite(id), mInfo(BeingInfo::Unknown), @@ -1122,19 +1120,6 @@ int Being::getNumberOfLayers() const return CompoundSprite::getNumberOfLayers(); } -void Being::load() -{ - // Hairstyles are encoded as negative numbers. Count how far negative - // we can go. - int hairstyles = 1; - - while (itemDb->get(-hairstyles).getSprite(GENDER_MALE) != - paths.getStringValue("spriteErrorFile")) - hairstyles++; - - mNumberOfHairstyles = hairstyles; -} - void Being::updateName() { if (mShowName) |