summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-07-05 23:06:28 -0300
committershennetsind <ind@henn.et>2013-07-05 23:06:28 -0300
commit144a9d0843dfe47e0b58c8857762f58ae70543c8 (patch)
tree9895c9f8fd9d6d2d0af34d83148adcd36dc777ea /src/map/clif.c
parent04251494ebf61d3fba1a0b87cb80e90c6c9e32fd (diff)
downloadhercules-144a9d0843dfe47e0b58c8857762f58ae70543c8.tar.gz
hercules-144a9d0843dfe47e0b58c8857762f58ae70543c8.tar.bz2
hercules-144a9d0843dfe47e0b58c8857762f58ae70543c8.tar.xz
hercules-144a9d0843dfe47e0b58c8857762f58ae70543c8.zip
Fixed Bug #7307
http://hercules.ws/board/tracker/issue-7307-status-weapon-switch/ Special Thanks to kyeme, Beret. Signed-off-by: shennetsind <ind@henn.et>
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 c802929b4..b2461d8d5 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -10664,7 +10664,7 @@ void clif_parse_EquipItem(int fd,struct map_session_data *sd)
else if ( pc_cant_act2(sd) || sd->state.prerefining )
return;
- if(!sd->status.inventory[index].identify) {
+ if(!sd->status.inventory[index].identify || sd->delayed_damage != 0) {
clif->equipitemack(sd,index,0,0); // fail
return;
}