aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNyeriah <sarah.trysan@live.com>2014-11-23 03:26:24 -0200
committerNyeriah <sarah.trysan@live.com>2014-11-23 03:26:24 -0200
commit0a0e9b196fe3e4db0d807beb17d90895c174ce84 (patch)
tree1cf15dc63ea148fcdf9bb0bbfa37a0c1cfc69374 /src
parent3236f1641c39223a66bac7aa4a03254b096ce7d8 (diff)
Scripts/CoS: Added SetDespawnAtFar, fixes Arthas despawning if no players are in range
(specially during waves)
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.cpp
index b84d24d66d3..794496382c2 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.cpp
@@ -292,6 +292,7 @@ public:
break;
}
player->CLOSE_GOSSIP_MENU();
+ ai->SetDespawnAtFar(false);
creature->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_GOSSIP);
return true;
}