SetPreSummonX(), SetPreSummonY(), and SetPreSummonZ() converted to SetPreSummonLocation()

This commit is contained in:
Arthur Ice
2014-11-30 19:34:44 -08:00
parent 98a8ddbb21
commit 70d26a532c
2 changed files with 2 additions and 6 deletions
+1 -3
View File
@@ -2234,9 +2234,7 @@ bool Mob::HateSummon() {
if(target && target->IsBot()) {
// set pre summoning info to return to (to get out of melee range for caster)
target->CastToBot()->SetHasBeenSummoned(true);
target->CastToBot()->SetPreSummonX(target->GetX());
target->CastToBot()->SetPreSummonY(target->GetY());
target->CastToBot()->SetPreSummonZ(target->GetZ());
target->CastToBot()->SetPreSummonLocation(target->GetPosition());
}
#endif //BOTS