mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Do not make NPCs face bots
This commit is contained in:
parent
fd8638c742
commit
9ae8a1475f
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user