mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 17:38:26 +00:00
Fix auto complete error
This commit is contained in:
+1
-1
@@ -3401,7 +3401,7 @@ int Mob::GetHaste()
|
||||
Mob *owner = nullptr;
|
||||
if (IsPet())
|
||||
owner = GetOwner();
|
||||
else if (IsNPC() && CastToNPC()->GetSwarmTarget())
|
||||
else if (IsNPC() && CastToNPC()->GetSwarmOwner())
|
||||
owner = entity_list.GetMobID(CastToNPC()->GetSwarmOwner());
|
||||
if (owner) {
|
||||
cap = 10 + level;
|
||||
|
||||
Reference in New Issue
Block a user