summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index ce79490..362f0da 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -2613,7 +2613,7 @@ int clif_changelook_towards (struct block_list *bl, int type, int val,
WBUFB (buf, 6) = type;
if (sd->equip_index[equip_point] >= 0
- && sd->inventory_data[sd->equip_index[2]])
+ && sd->inventory_data[sd->equip_index[equip_point]])
{
if (sd->
inventory_data[sd->equip_index[equip_point]]->view_id > 0)