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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 3b5dc0f57..746a12a75 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -10179,8 +10179,8 @@ void clif_parse_UseItem(int fd, struct map_session_data *sd)
if (sd->npc_id) {
if (sd->npc_id != sd->npc_item_flag)
return;
- } else
- if (pc_istrading(sd))
+ }
+ else if (pc_istrading(sd))
return;
//Whether the item is used or not is irrelevant, the char ain't idle. [Skotlex]