mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-29 12:47:54 +00:00
Clean up OP_ManaChange
This commit is contained in:
@@ -1809,6 +1809,7 @@ void Client::SendManaUpdatePacket() {
|
||||
manachange->new_mana = cur_mana;
|
||||
manachange->stamina = cur_end;
|
||||
manachange->spell_id = casting_spell_id; //always going to be 0... since we check IsCasting()
|
||||
manachange->keepcasting = 1;
|
||||
outapp->priority = 6;
|
||||
QueuePacket(outapp);
|
||||
safe_delete(outapp);
|
||||
|
||||
@@ -4754,6 +4754,7 @@ void Mob::SendSpellBarEnable(uint16 spell_id)
|
||||
manachange->new_mana = GetMana();
|
||||
manachange->spell_id = spell_id;
|
||||
manachange->stamina = CastToClient()->GetEndurance();
|
||||
manachange->keepcasting = 0;
|
||||
outapp->priority = 6;
|
||||
CastToClient()->QueuePacket(outapp);
|
||||
safe_delete(outapp);
|
||||
|
||||
Reference in New Issue
Block a user