summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index 65fbc431..9ef0a5a2 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -422,7 +422,7 @@ void Engine::draw()
being->text_x - 64, being->text_y - 80);
}
- if (being->getHairColor() <= 10) {
+ if (being->getHairColor() <= NR_HAIR_COLORS) {
int hf = being->getHairColor() - 1 + 10 * (dir + 4 *
(being->getHairStyle() - 1));