From 9e89ccb915fbc6cb73a5f48fcaf2fa10f64e6f24 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 8 May 2005 19:23:14 +0000 Subject: Added new hair style by Frode Lindeijer. --- src/being.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/being.cpp') 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; } -- cgit v1.2.3-70-g09d2