Disable test items

This commit is contained in:
Yunfan Li
2024-09-18 22:16:18 +08:00
parent ef4064cfc1
commit 68bf09c425
5 changed files with 22 additions and 14 deletions

View File

@@ -663,7 +663,7 @@ WorldLocation MoveFormation::MoveSingleLine(std::vector<Player*> line, float dif
float lz = cz;
Player* master = botAI->GetMaster();
if (!master->GetMap()->CheckCollisionAndGetValidCoords(
if (!master || !master->GetMap()->CheckCollisionAndGetValidCoords(
master, master->GetPositionX(), master->GetPositionY(), master->GetPositionZ(), lx, ly, lz))
{
lx = x + cos(angle) * radius;