From be4e7f8ff75a1c7e93484f32830ae53d0428f582 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 5 Apr 2020 06:52:17 -0400 Subject: [PATCH] CMFGame: Remove unnecessary const_cast This is no longer necessary, considering that Draw() isn't const qualified anymore. --- Runtime/MP1/CMFGame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/MP1/CMFGame.cpp b/Runtime/MP1/CMFGame.cpp index 3b05488a0..affd3f57e 100644 --- a/Runtime/MP1/CMFGame.cpp +++ b/Runtime/MP1/CMFGame.cpp @@ -199,7 +199,7 @@ void CMFGame::Draw() { } SCOPED_GRAPHICS_DEBUG_GROUP("CMFGame::Draw", zeus::skGreen); - const_cast(*this).Touch(); + Touch(); if (x18_guiManager->GetIsGameDraw()) { static_cast(*g_Main).SetGameFrameDrawn(); x14_stateManager->PreRender();