Core/Commands: Removed setting orientation from cast commands

This commit is contained in:
Shauren
2011-09-17 12:16:33 +02:00
parent a2d9aabbb3
commit 94e5ff6549
+3 -7
View File
@@ -2415,10 +2415,10 @@ bool ChatHandler::HandleListAurasCommand (const char * /*args*/)
ss_name << "|cffffffff|Hspell:" << aura->GetId() << "|h[" << name << "]|h|r";
PSendSysMessage(LANG_COMMAND_TARGET_AURADETAIL, aura->GetId(), (m_session ? ss_name.str().c_str() : name),
aurApp->GetEffectMask(), aura->GetCharges(), aura->GetStackAmount(), aurApp->GetSlot(),
aurApp->GetEffectMask(), aura->GetCharges(), aura->GetStackAmount(), aurApp->GetSlot(),
aura->GetDuration(), aura->GetMaxDuration(), (aura->IsPassive() ? passiveStr : ""),
(talent ? talentStr : ""), IS_PLAYER_GUID(aura->GetCasterGUID()) ? "player" : "creature",
GUID_LOPART(aura->GetCasterGUID()));
(talent ? talentStr : ""), IS_PLAYER_GUID(aura->GetCasterGUID()) ? "player" : "creature",
GUID_LOPART(aura->GetCasterGUID()));
}
for (uint16 i = 0; i < TOTAL_AURAS; ++i)
{
@@ -3860,8 +3860,6 @@ bool ChatHandler::HandleCastBackCommand(const char *args)
bool triggered = (trig_str != NULL);
caster->SetFacingToObject(m_session->GetPlayer());
caster->CastSpell(m_session->GetPlayer(), spell, triggered);
return true;
@@ -3953,8 +3951,6 @@ bool ChatHandler::HandleCastTargetCommand(const char *args)
bool triggered = (trig_str != NULL);
caster->SetFacingToObject(m_session->GetPlayer());
caster->CastSpell(caster->getVictim(), spell, triggered);
return true;