mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-03 06:23:53 +00:00
Merge pull request #1027 from noudess/patch-15
Propose change in location of Stun check as possible resolution to crash
This commit is contained in:
commit
eb00667eab
10
zone/npc.cpp
10
zone/npc.cpp
@ -694,11 +694,6 @@ void NPC::RemoveCash() {
|
||||
|
||||
bool NPC::Process()
|
||||
{
|
||||
if (IsStunned() && stunned_timer.Check()) {
|
||||
Mob::UnStun();
|
||||
this->spun_timer.Disable();
|
||||
}
|
||||
|
||||
if (p_depop)
|
||||
{
|
||||
Mob* owner = entity_list.GetMob(this->ownerid);
|
||||
@ -711,6 +706,11 @@ bool NPC::Process()
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
if (IsStunned() && stunned_timer.Check()) {
|
||||
Mob::UnStun();
|
||||
this->spun_timer.Disable();
|
||||
}
|
||||
|
||||
SpellProcess();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user