diff options
Diffstat (limited to 'src/server/scripts')
| -rw-r--r-- | src/server/scripts/Spells/spell_item.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp index 6d2818e507c..acf92d3a984 100644 --- a/src/server/scripts/Spells/spell_item.cpp +++ b/src/server/scripts/Spells/spell_item.cpp @@ -775,7 +775,7 @@ class spell_item_red_rider_air_rifle : public SpellScriptLoader GetCaster()->CastSpell(GetCaster(), SPELL_AIR_RIFLE_HOLD_VISUAL, true); // needed because this spell shares GCD with its triggered spells (which must not be cast with triggered flag) if (Player* player = GetCaster()->ToPlayer()) - player->RemoveGlobalCooldown(GetSpellInfo()); + player->GetGlobalCooldownMgr().CancelGlobalCooldown(GetSpellInfo()); if (urand(0, 4)) GetCaster()->CastSpell(GetHitUnit(), SPELL_AIR_RIFLE_SHOOT, false); else |
