mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 00:46:46 +00:00
Propose change in location of Stun check as possible resolution to crash
This commit is contained in:
+5
-5
@@ -694,11 +694,6 @@ void NPC::RemoveCash() {
|
|||||||
|
|
||||||
bool NPC::Process()
|
bool NPC::Process()
|
||||||
{
|
{
|
||||||
if (IsStunned() && stunned_timer.Check()) {
|
|
||||||
Mob::UnStun();
|
|
||||||
this->spun_timer.Disable();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (p_depop)
|
if (p_depop)
|
||||||
{
|
{
|
||||||
Mob* owner = entity_list.GetMob(this->ownerid);
|
Mob* owner = entity_list.GetMob(this->ownerid);
|
||||||
@@ -712,6 +707,11 @@ bool NPC::Process()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (IsStunned() && stunned_timer.Check()) {
|
||||||
|
Mob::UnStun();
|
||||||
|
this->spun_timer.Disable();
|
||||||
|
}
|
||||||
|
|
||||||
SpellProcess();
|
SpellProcess();
|
||||||
|
|
||||||
if (mob_scan_close.Check()) {
|
if (mob_scan_close.Check()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user