fix: Fixes process delta calls during death/res (#1559)
This commit is contained in:
parent
aaf0fc32fa
commit
6239b418a8
2 changed files with 4 additions and 4 deletions
|
|
@ -4501,7 +4501,7 @@ public partial class Mobile : IHued, IComparable<Mobile>, ISpawnable, IObjectPro
|
||||||
BodyMod = 0;
|
BodyMod = 0;
|
||||||
Body = Race.AliveBody(this);
|
Body = Race.AliveBody(this);
|
||||||
|
|
||||||
ProcessDeltaQueue();
|
ProcessDelta();
|
||||||
|
|
||||||
for (var i = Items.Count - 1; i >= 0; --i)
|
for (var i = Items.Count - 1; i >= 0; --i)
|
||||||
{
|
{
|
||||||
|
|
@ -4839,7 +4839,7 @@ public partial class Mobile : IHued, IComparable<Mobile>, ISpawnable, IObjectPro
|
||||||
|
|
||||||
EventSink.InvokePlayerDeath(this);
|
EventSink.InvokePlayerDeath(this);
|
||||||
|
|
||||||
ProcessDeltaQueue();
|
ProcessDelta();
|
||||||
|
|
||||||
m_NetState.SendDeathStatus(false);
|
m_NetState.SendDeathStatus(false);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3221,7 +3221,7 @@ namespace Server.Mobiles
|
||||||
ControlTarget = ControlMaster;
|
ControlTarget = ControlMaster;
|
||||||
ControlOrder = OrderType.Follow;
|
ControlOrder = OrderType.Follow;
|
||||||
|
|
||||||
ProcessDeltaQueue();
|
ProcessDelta();
|
||||||
SendIncomingPacket();
|
SendIncomingPacket();
|
||||||
SendIncomingPacket();
|
SendIncomingPacket();
|
||||||
|
|
||||||
|
|
@ -3834,7 +3834,7 @@ namespace Server.Mobiles
|
||||||
Stam = StamMax;
|
Stam = StamMax;
|
||||||
Mana = 0;
|
Mana = 0;
|
||||||
|
|
||||||
ProcessDeltaQueue();
|
ProcessDelta();
|
||||||
|
|
||||||
IsDeadPet = false;
|
IsDeadPet = false;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue