Fixed some format arg type/value pairs. Other warnings.

This commit is contained in:
VladimirMangos 2008-11-01 23:53:35 +03:00 committed by tomrus88
parent b62f376d73
commit 004bdf1d3c
14 changed files with 30 additions and 20 deletions

View file

@ -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));