2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-05 23:15:52 +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);
const_cast<CMFGame&>(*this).Touch();
Touch();
if (x18_guiManager->GetIsGameDraw()) {
static_cast<CMain&>(*g_Main).SetGameFrameDrawn();
x14_stateManager->PreRender();