diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-25 14:46:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-25 14:47:37 +0300 |
commit | 0f6b7350ad0305d518fb75a8aa07f0616178ede5 (patch) | |
tree | 2e12990ad04106660fbe31547480d8976d1215d7 /src/being.h | |
parent | 5da20a82b1a4d1a4bab77fad0aa73244a53073b1 (diff) | |
download | plus-0f6b7350ad0305d518fb75a8aa07f0616178ede5.tar.gz plus-0f6b7350ad0305d518fb75a8aa07f0616178ede5.tar.bz2 plus-0f6b7350ad0305d518fb75a8aa07f0616178ede5.tar.xz plus-0f6b7350ad0305d518fb75a8aa07f0616178ede5.zip |
fix previous/next race button in char creation dialog.
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h index c8abf988f..1f2d88412 100644 --- a/src/being.h +++ b/src/being.h @@ -398,6 +398,12 @@ class Being : public ActorSprite, public ConfigListener { return mNumberOfHairstyles; } /** + * Get the number of races implemented + */ + static int getNumOfRaces() A_WARN_UNUSED + { return mNumberOfRaces; } + + /** * Get the number of layers used to draw the being */ int getNumberOfLayers() const A_WARN_UNUSED @@ -900,6 +906,7 @@ class Being : public ActorSprite, public ConfigListener const ItemInfo *mEquippedWeapon; static int mNumberOfHairstyles; /** Number of hair styles in use */ + static int mNumberOfRaces; /** Number of races in use */ Path mPath; std::string mSpeech; |