replaced _preSummonX, _preSummonY, and _preSummonZ in bot with xyz_location m_PreSummonlocation

This commit is contained in:
Arthur Ice
2014-11-30 19:14:24 -08:00
parent 6b1b083802
commit 381dc7574f
2 changed files with 10 additions and 14 deletions
+3 -5
View File
@@ -16279,11 +16279,9 @@ bool Bot::HasOrMayGetAggro() {
void Bot::SetHasBeenSummoned(bool wasSummoned) {
_hasBeenSummoned = wasSummoned;
if(!wasSummoned) {
_preSummonX = 0;
_preSummonY = 0;
_preSummonZ = 0;
}
if(!wasSummoned)
m_PreSummonLocation = xyz_location::Origin();
}
void Bot::SetDefaultBotStance() {