From 536ce6a658b6d85cad28cee224e1301b0a855ab5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 22 Feb 2016 17:11:58 +0300 Subject: Use constants in barber script. --- npc/functions/barber.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/npc/functions/barber.txt b/npc/functions/barber.txt index 6dd308fb..1aad85ba 100644 --- a/npc/functions/barber.txt +++ b/npc/functions/barber.txt @@ -41,7 +41,7 @@ function script BarberChangeStyle { set @style, @menu; if (@style == 29) set @style, rand(28); - setlook 1, @style; + setlook LOOK_HAIR, @style; L_Done: return; } @@ -75,7 +75,7 @@ function script BarberChangeColor { set @color, @menu - 1; if (@color == 21) set @color, rand(20); - setlook 6, @color; + setlook LOOK_HAIR_COLOR, @color; L_Done: return; } -- cgit v1.2.3-70-g09d2