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