Core/Misc: Remove some calls to const_cast
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user