Do not make NPCs face bots

This commit is contained in:
郑佩茹
2022-09-22 16:08:21 -06:00
parent fd8638c742
commit 9ae8a1475f

View File

@@ -73,9 +73,9 @@ void RpgHelper::setFacing(GuidPosition guidPosition)
if (guidPosition.IsPlayer()) if (guidPosition.IsPlayer())
return; return;
Unit* unit = guidPosition.GetUnit(); // Unit* unit = guidPosition.GetUnit();
unit->SetFacingTo(unit->GetAngle(bot)); // unit->SetFacingTo(unit->GetAngle(bot));
} }
void RpgHelper::setDelay(bool waitForGroup) void RpgHelper::setDelay(bool waitForGroup)