Build fixes

This commit is contained in:
Shauren
2016-06-03 16:49:42 +02:00
parent 3ab3a667ed
commit a1ce7ae6a2
2 changed files with 2 additions and 2 deletions

View File

@@ -215,7 +215,7 @@ public:
uint8 failArg2 = fail2 ? (uint8)atoi(fail2) : 0;
WorldPackets::Spells::CastFailed castFailed(SMSG_CAST_FAILED);
castFailed.CastID = 0;
castFailed.CastID = ObjectGuid::Empty;
castFailed.SpellID = 133;
castFailed.Reason = failNum;
castFailed.FailedArg1 = failArg1;

View File

@@ -923,7 +923,7 @@ public:
return false;
if (Player* caster = handler->GetSession()->GetPlayer())
Spell::SendCastResult(caster, spellInfo, 0, SPELL_FAILED_CANT_DO_THAT_RIGHT_NOW);
Spell::SendCastResult(caster, spellInfo, ObjectGuid::Empty, SPELL_FAILED_CANT_DO_THAT_RIGHT_NOW);
return false;
}