summaryrefslogtreecommitdiff
path: root/src/emap/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-18 22:55:05 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-18 22:55:05 +0300
commita42e660b76029df73830840c0e8005d3d465f4d1 (patch)
tree64d105c2b85c46101abb64781a8d5a21a79f8d90 /src/emap/clif.c
parentdee2b1a29dc3af07bb434ab986aa552e8be5e26c (diff)
downloadevol-hercules-a42e660b76029df73830840c0e8005d3d465f4d1.tar.gz
evol-hercules-a42e660b76029df73830840c0e8005d3d465f4d1.tar.bz2
evol-hercules-a42e660b76029df73830840c0e8005d3d465f4d1.tar.xz
evol-hercules-a42e660b76029df73830840c0e8005d3d465f4d1.zip
Fix plugin compilation after hercules update.
Diffstat (limited to 'src/emap/clif.c')
-rw-r--r--src/emap/clif.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emap/clif.c b/src/emap/clif.c
index bc9d77b..d6f4e11 100644
--- a/src/emap/clif.c
+++ b/src/emap/clif.c
@@ -302,8 +302,8 @@ void eclif_charnameack_pre(int *fdPtr,
if (equip >= 0) \
{ \
item = sd->inventory_data[equip]; \
- if (item && item->look) \
- send_changelook(sd, sd2, fd, id, field, item->look, 0, item, equip); \
+ if (item && item->view_sprite) \
+ send_changelook(sd, sd2, fd, id, field, item->view_sprite, 0, item, equip); \
}
#define equipPosId(index, field) \
@@ -354,9 +354,9 @@ static void eclif_send_additional_slots(TBL_PC* sd, TBL_PC* sd2)
if (equip >= 0) \
{ \
item = sd->inventory_data[equip]; \
- if (item && item->look) \
+ if (item && item->view_sprite) \
{ \
- send_changelook2(sd, bl, bl->id, field, item->look, 0, item, equip, AREA); \
+ send_changelook2(sd, bl, bl->id, field, item->view_sprite, 0, item, equip, AREA); \
} \
}