From 21165344cd9ed8f69688e5d177bcf328ad769270 Mon Sep 17 00:00:00 2001 From: Akionka <42269025+Akionka@users.noreply.github.com> Date: Sat, 22 Aug 2026 00:02:34 +0300 Subject: [PATCH] Fix CMenuManager::DrawQuitGameScreen signature --- plugin_sa/game_sa/CMenuManager.cpp | 4 ++-- plugin_sa/game_sa/CMenuManager.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin_sa/game_sa/CMenuManager.cpp b/plugin_sa/game_sa/CMenuManager.cpp index 3e21d515a..afd34f105 100644 --- a/plugin_sa/game_sa/CMenuManager.cpp +++ b/plugin_sa/game_sa/CMenuManager.cpp @@ -103,8 +103,8 @@ void CMenuManager::DrawFrontEnd() { plugin::CallMethod<0x57C290, CMenuManager*>(this); } -void CMenuManager::DrawQuitGameScreen(int unused) { - plugin::CallMethod<0x57D860, CMenuManager*>(this, unused); +void CMenuManager::DrawQuitGameScreen() { + plugin::CallMethod<0x57D860, CMenuManager*>(this); } void CMenuManager::DrawStandardMenu(bool header) { diff --git a/plugin_sa/game_sa/CMenuManager.h b/plugin_sa/game_sa/CMenuManager.h index d29be5d3e..b4bb5b148 100644 --- a/plugin_sa/game_sa/CMenuManager.h +++ b/plugin_sa/game_sa/CMenuManager.h @@ -409,7 +409,7 @@ class PLUGIN_API CMenuManager { char DrawControllerScreenExtraText(int unk); char DrawControllerSetupScreen(); void DrawFrontEnd(); - void DrawQuitGameScreen(int unused); + void DrawQuitGameScreen(); void DrawStandardMenu(bool header = true); void DrawWindow(const CRect& coords, const char* pKey, unsigned char nColour, CRGBA backColor, bool Unused, bool bBackground); void DrawWindowedText(float x1, float y1, float x2, float y2, char* gxt, int align);