[10746] Use objetguid for other .list auras command part

This commit is contained in:
VladimirMangos 2010-11-19 17:00:14 +03:00
parent 87b8a1d1ce
commit f034a9bd0a
6 changed files with 14 additions and 6 deletions

View file

@ -4594,7 +4594,7 @@ bool ChatHandler::HandleListAurasCommand (char* /*args*/)
aur->GetModifier()->m_auraname, aur->GetAuraDuration(), aur->GetAuraMaxDuration(),
ss_name.str().c_str(),
(holder->IsPassive() ? passiveStr : ""),(talent ? talentStr : ""),
IS_PLAYER_GUID(holder->GetCasterGUID()) ? "player" : "creature",GUID_LOPART(holder->GetCasterGUID()));
holder->GetCasterGuid().GetString().c_str());
}
else
{
@ -4602,7 +4602,7 @@ bool ChatHandler::HandleListAurasCommand (char* /*args*/)
aur->GetModifier()->m_auraname, aur->GetAuraDuration(), aur->GetAuraMaxDuration(),
name,
(holder->IsPassive() ? passiveStr : ""),(talent ? talentStr : ""),
IS_PLAYER_GUID(holder->GetCasterGUID()) ? "player" : "creature",GUID_LOPART(holder->GetCasterGUID()));
holder->GetCasterGuid().GetString().c_str());
}
}
}