mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 19:06:49 +01:00
Core/Misc: camelize GetFaction/SetFaction properly
This commit is contained in:
@@ -3738,7 +3738,7 @@ class spell_gen_gm_freeze : public SpellScriptLoader
|
||||
if (Player* player = GetTarget()->ToPlayer())
|
||||
{
|
||||
// stop combat + make player unattackable + duel stop + stop some spells
|
||||
player->setFaction(35);
|
||||
player->SetFaction(35);
|
||||
player->CombatStop();
|
||||
if (player->IsNonMeleeSpellCast(true))
|
||||
player->InterruptNonMeleeSpells(true);
|
||||
|
||||
Reference in New Issue
Block a user