diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-19 12:47:25 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-19 12:47:25 +0000 |
commit | c017009bbffa6a89ce55bb28387f00164538bfbc (patch) | |
tree | b22bcf3a5ac53cae6eedd9d41ca90cdfd238d6df /src/map/status.c | |
parent | dd04340051ea802a248b4574c67c39baa8828c98 (diff) | |
download | hercules-c017009bbffa6a89ce55bb28387f00164538bfbc.tar.gz hercules-c017009bbffa6a89ce55bb28387f00164538bfbc.tar.bz2 hercules-c017009bbffa6a89ce55bb28387f00164538bfbc.tar.xz hercules-c017009bbffa6a89ce55bb28387f00164538bfbc.zip |
Hair color fix for bugreport:5253, blame on r15449
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15497 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index b4025a09a..807cab66d 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -5090,7 +5090,7 @@ void status_set_viewdata(struct block_list *bl, int class_) sd->vd.head_mid = sd->status.head_mid; sd->vd.head_bottom = sd->status.head_bottom; sd->vd.hair_style = cap_value(sd->status.hair,0,battle_config.max_hair_style); - sd->vd.hair_color = cap_value(sd->status.hair,0,battle_config.max_hair_color); + sd->vd.hair_color = cap_value(sd->status.hair_color,0,battle_config.max_hair_color); sd->vd.cloth_color = cap_value(sd->status.clothes_color,0,battle_config.max_cloth_color); sd->vd.sex = sd->status.sex; } else if (vd) |