wrong signature in a few overrides
This commit is contained in:
@@ -116,9 +116,9 @@ public:
|
||||
DoUpdateWorldState(WORLD_STATE_BM_RIFT, 0);
|
||||
}
|
||||
|
||||
bool IsEncounterInProgress()
|
||||
bool IsEncounterInProgress() const
|
||||
{
|
||||
if (GetData(TYPE_MEDIVH) == IN_PROGRESS)
|
||||
if (const_cast<instance_dark_portal_InstanceMapScript*>(this)->GetData(TYPE_MEDIVH) == IN_PROGRESS)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
||||
+1
-1
@@ -759,7 +759,7 @@ class spell_powering_up : public SpellScriptLoader
|
||||
|
||||
uint32 spellId;
|
||||
|
||||
bool Validate(SpellEntry const* /*spellEntry*/)
|
||||
bool Validate(SpellInfo const* /*spellEntry*/)
|
||||
{
|
||||
spellId = sSpellMgr->GetSpellIdForDifficulty(SPELL_SURGE_OF_SPEED, GetCaster());
|
||||
if (!sSpellMgr->GetSpellInfo(spellId))
|
||||
|
||||
@@ -1273,7 +1273,7 @@ class go_ulduar_tower : public GameObjectScript
|
||||
public:
|
||||
go_ulduar_tower() : GameObjectScript("go_ulduar_tower") { }
|
||||
|
||||
void OnDestroyed(GameObject* go, Player* /*player*/, uint32 /*value*/)
|
||||
void OnDestroyed(GameObject* go, Player* /*player*/)
|
||||
{
|
||||
InstanceScript* instance = go->GetInstanceScript();
|
||||
if (!instance)
|
||||
|
||||
Reference in New Issue
Block a user