Core/Misc: Remove some calls to const_cast

This commit is contained in:
Spp committed 2013-01-30 08:39:06 +01:00
1 parent 0281497573
commit fa5dd4bd4e
15 files changed
+43 -40

No files matched your search

@@ -122,7 +122,7 @@ public:
bool IsEncounterInProgress() const
{
if (const_cast<instance_dark_portal_InstanceMapScript*>(this)->GetData(TYPE_MEDIVH) == IN_PROGRESS)
if (GetData(TYPE_MEDIVH) == IN_PROGRESS)
return true;
return false;