Core/Misc: camelize GetFaction/SetFaction properly

(cherry picked from commit 4c4dca6d694bd1064b403a31a5b1c776a326f3ce)
This commit is contained in:
ariel-
2020-04-29 01:36:41 +02:00
committed by funjoker
parent 57b1d76ad5
commit 93c19c4194
120 changed files with 327 additions and 327 deletions
+1 -1
View File
@@ -3704,7 +3704,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);