mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 07:18:37 +00:00
SetPreSummonX(), SetPreSummonY(), and SetPreSummonZ() converted to SetPreSummonLocation()
This commit is contained in:
+1
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user