Core/Scripts: Include cleanup

This commit is contained in:
Shauren
2017-05-28 16:34:44 +02:00
parent d427fed13b
commit a0a158b5b8
621 changed files with 4064 additions and 3178 deletions
+1 -1
View File
@@ -1439,7 +1439,7 @@ class spell_gen_dungeon_credit : public SpellScriptLoader
_handled = true;
Unit* caster = GetCaster();
if (InstanceScript* instance = caster->GetInstanceScript())
instance->UpdateEncounterState(ENCOUNTER_CREDIT_CAST_SPELL, GetSpellInfo()->Id, caster);
instance->UpdateEncounterStateForSpellCast(GetSpellInfo()->Id, caster);
}
void Register() override