CMFGame: Remove unnecessary const_cast

This is no longer necessary, considering that Draw() isn't const
qualified anymore.
This commit is contained in:
Lioncash 2020-04-05 06:52:17 -04:00
parent a952ff1110
commit be4e7f8ff7
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ void CMFGame::Draw() {
}
SCOPED_GRAPHICS_DEBUG_GROUP("CMFGame::Draw", zeus::skGreen);
const_cast<CMFGame&>(*this).Touch();
Touch();
if (x18_guiManager->GetIsGameDraw()) {
static_cast<CMain&>(*g_Main).SetGameFrameDrawn();
x14_stateManager->PreRender();