mirror of https://github.com/AxioDL/metaforce.git
CMFGame: Remove unnecessary const_cast
This is no longer necessary, considering that Draw() isn't const qualified anymore.
This commit is contained in:
parent
a952ff1110
commit
be4e7f8ff7
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue