summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-08 19:23:14 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-08 19:23:14 +0000
commit9e89ccb915fbc6cb73a5f48fcaf2fa10f64e6f24 (patch)
tree53a68a255161bb45ff17a181251a67650c4327fd /src/being.cpp
parent2c2222a442165fd091cc80ab2d198e3539e1cdd4 (diff)
downloadmana-9e89ccb915fbc6cb73a5f48fcaf2fa10f64e6f24.tar.gz
mana-9e89ccb915fbc6cb73a5f48fcaf2fa10f64e6f24.tar.bz2
mana-9e89ccb915fbc6cb73a5f48fcaf2fa10f64e6f24.tar.xz
mana-9e89ccb915fbc6cb73a5f48fcaf2fa10f64e6f24.zip
Added new hair style by Frode Lindeijer.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index c9b65e60..204065a5 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -212,7 +212,7 @@ void Being::setHairColor(int color)
void Being::setHairStyle(int style)
{
hairStyle = style;
- if (hairStyle < 1 || hairStyle > 4)
+ if (hairStyle < 1 || hairStyle > NR_HAIR_STYLES)
{
hairStyle = 1;
}