mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 22:37:04 +00:00
Fixed some format arg type/value pairs. Other warnings.
This commit is contained in:
parent
715df4e28c
commit
8563b88859
15 changed files with 30 additions and 26 deletions
|
|
@ -186,6 +186,7 @@ MotionMaster::MoveChase(Unit* target, float dist, float angle)
|
|||
if(i_owner->GetTypeId()==TYPEID_PLAYER)
|
||||
{
|
||||
DEBUG_LOG("Player (GUID: %u) chase to %s (GUID: %u)",
|
||||
i_owner->GetGUIDLow(),
|
||||
target->GetTypeId()==TYPEID_PLAYER ? "player" : "creature",
|
||||
target->GetTypeId()==TYPEID_PLAYER ? i_owner->GetGUIDLow() : ((Creature*)i_owner)->GetDBTableGUIDLow() );
|
||||
Mutate(new TargetedMovementGenerator<Player>(*target,dist,angle));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue