wrong signature in a few overrides

This commit is contained in:
faramir118
2012-04-11 19:56:05 +02:00
committed by Machiavelli
parent c7927a7796
commit c09cd26739
3 changed files with 4 additions and 4 deletions
@@ -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;