mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Starter location collection
This commit is contained in:
parent
a91aa3e392
commit
45629cb3df
@ -1549,7 +1549,7 @@ void RandomPlayerbotMgr::PrepareTeleportCache()
|
||||
if (loc.GetMapId() != checkLoc.GetMapId())
|
||||
continue;
|
||||
|
||||
if (loc.GetExactDist(checkLoc) > 1000.0f)
|
||||
if (loc.GetExactDist(checkLoc) > 1500.0f)
|
||||
continue;
|
||||
|
||||
if (zoneId !=
|
||||
@ -1558,6 +1558,8 @@ void RandomPlayerbotMgr::PrepareTeleportCache()
|
||||
|
||||
counter++;
|
||||
levelLoc = checkLoc;
|
||||
if (counter >= 15)
|
||||
break;
|
||||
}
|
||||
|
||||
if (counter < 15)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user