mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
miscs: engine
This commit is contained in:
@@ -43,7 +43,7 @@ WorldLocation ArrowFormation::GetLocationInternal()
|
||||
|
||||
float x = master->GetPositionX() - masterUnit->GetX() + botUnit->GetX();
|
||||
float y = master->GetPositionY() - masterUnit->GetY() + botUnit->GetY();
|
||||
float z = master->GetPositionZ();
|
||||
float z = master->GetPositionZ() + 5.0f;
|
||||
|
||||
float ground = master->GetMap()->GetHeight(x, y, z + 0.5f);
|
||||
if (ground <= INVALID_HEIGHT)
|
||||
|
||||
Reference in New Issue
Block a user