mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
replaced _preSummonX, _preSummonY, and _preSummonZ in bot with xyz_location m_PreSummonlocation
This commit is contained in:
+3
-5
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user