Core: Corrected NULL usage, it should only be used with pointers, not integers
This commit is contained in:
1 parent
a2a751b9d6
commit
8898db8b27
56 files changed
+216
-217
No files matched your search
@@ -511,7 +511,7 @@ class spell_pvp_trinket_wotf_shared_cd : public SpellScriptLoader
|
||||
return;
|
||||
SpellEntry const* spellInfo = GetSpellInfo();
|
||||
|
||||
caster->AddSpellCooldown(spellInfo->Id, NULL, time(NULL) + GetSpellRecoveryTime(sSpellStore.LookupEntry(SPELL_WILL_OF_THE_FORSAKEN_COOLDOWN_TRIGGER)) / IN_MILLISECONDS);
|
||||
caster->AddSpellCooldown(spellInfo->Id, 0, time(NULL) + GetSpellRecoveryTime(sSpellStore.LookupEntry(SPELL_WILL_OF_THE_FORSAKEN_COOLDOWN_TRIGGER)) / IN_MILLISECONDS);
|
||||
WorldPacket data(SMSG_SPELL_COOLDOWN, 8+1+4);
|
||||
data << uint64(caster->GetGUID());
|
||||
data << uint8(0);
|
||||
|
||||
Reference in new issue
Block a user