mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-26 01:12:26 +00:00
[Bug Fix] Fix for interrupting item casts to no longer lock the client if cast time of item greater than 0 (#2921)
This commit is contained in:
parent
c64591b8f7
commit
9836b5cf67
@ -4335,6 +4335,7 @@ void Client::Handle_OP_CastSpell(const EQApplicationPacket *app)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
InterruptSpell(castspell->spell_id);
|
InterruptSpell(castspell->spell_id);
|
||||||
|
SendSpellBarEnable(castspell->spell_id);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -4373,6 +4374,7 @@ void Client::Handle_OP_CastSpell(const EQApplicationPacket *app)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
InterruptSpell(castspell->spell_id);
|
InterruptSpell(castspell->spell_id);
|
||||||
|
SendSpellBarEnable(castspell->spell_id);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -9205,6 +9207,10 @@ void Client::Handle_OP_ItemVerifyRequest(const EQApplicationPacket *app)
|
|||||||
else {
|
else {
|
||||||
CastSpell(item->Click.Effect, target_id, CastingSlot::Item, item->CastTime, 0, 0, slot_id);
|
CastSpell(item->Click.Effect, target_id, CastingSlot::Item, item->CastTime, 0, 0, slot_id);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
InterruptSpell(item->Click.Effect);
|
||||||
|
SendSpellBarEnable(item->Click.Effect);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -9273,6 +9279,10 @@ void Client::Handle_OP_ItemVerifyRequest(const EQApplicationPacket *app)
|
|||||||
else {
|
else {
|
||||||
CastSpell(augitem->Click.Effect, target_id, CastingSlot::Item, augitem->CastTime, 0, 0, slot_id);
|
CastSpell(augitem->Click.Effect, target_id, CastingSlot::Item, augitem->CastTime, 0, 0, slot_id);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
InterruptSpell(item->Click.Effect);
|
||||||
|
SendSpellBarEnable(item->Click.Effect);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user