2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-06 16:05:53 +00:00

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

View File

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