From ff6c19beed4584ff68edaa840946a295223c7888 Mon Sep 17 00:00:00 2001 From: Akionka <42269025+Akionka@users.noreply.github.com> Date: Sat, 22 Aug 2026 01:55:53 +0300 Subject: [PATCH] Fix DrawWindow CallMethod argument types --- plugin_sa/game_sa/CMenuManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin_sa/game_sa/CMenuManager.cpp b/plugin_sa/game_sa/CMenuManager.cpp index 3e21d515a..38cd312bc 100644 --- a/plugin_sa/game_sa/CMenuManager.cpp +++ b/plugin_sa/game_sa/CMenuManager.cpp @@ -112,7 +112,7 @@ void CMenuManager::DrawStandardMenu(bool header) { } void CMenuManager::DrawWindow(const CRect& coords, const char* pKey, unsigned char nColour, CRGBA backColor, bool Unused, bool bBackground) { - plugin::CallMethod<0x573EE0, CMenuManager*>(this, coords, pKey, nColour, backColor, Unused, bBackground); + plugin::CallMethod<0x573EE0, CMenuManager*, const CRect&, const char*, unsigned char, CRGBA, bool, bool>(this, coords, pKey, nColour, backColor, Unused, bBackground); } void CMenuManager::DrawWindowedText(float x1, float y1, float x2, float y2, char* gxt, int align) {