mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 16:38:42 +01:00
Build fixes
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user