mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-28 21:52:17 +00:00
[Performance] Don't process ProjectileAttack checks for NPC's that are not engaged in any combat
This commit is contained in:
1 parent
f931ef7bcb
commit
d777b1048d
4 files changed
+34
-33
No files matched your search
@@ -956,7 +956,6 @@ void Mob::ProjectileAttack()
|
||||
{
|
||||
if (!HasProjectileAttack())
|
||||
return;
|
||||
;
|
||||
|
||||
Mob *target = nullptr;
|
||||
bool disable = true;
|
||||
|
||||
Reference in new issue
Block a user