Fixed typo (thx @lukaasm)

This commit is contained in:
joschiwald
2017-12-28 17:45:34 +01:00
parent 2eb9791fc9
commit 071b23d606

View File

@@ -3796,7 +3796,7 @@ inline void FillSpellCastFailedArgs(T& packet, ObjectGuid castId, SpellInfo cons
switch (result)
{
case SPELL_FAILED_NOT_READY:
if (*param1)
if (param1)
packet.FailedArg1 = *param1;
else
packet.FailedArg1 = 0; // unknown (value 1 update cooldowns on client flag)