Added npc_types.assistradius, defaults to npc_types.aggroradius if set to 0

This commit is contained in:
Michael Cook (mackal)
2013-11-18 12:44:39 -05:00
parent 65e36e02fb
commit 300799fdc8
6 changed files with 20 additions and 1 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ NPC::NPC(const NPCType* d, Spawn2* in_respawn, float x, float y, float z, float
logging_enabled = NPC_DEFAULT_LOGGING_ENABLED;
pAggroRange = d->aggroradius;
pAssistRange = GetAggroRange();
pAssistRange = d->assistradius;
findable = d->findable;
trackable = d->trackable;