From 07320ba99665f40c68aca94566adb2248eb0aa9d Mon Sep 17 00:00:00 2001 From: Asdow <20314541+Asdow@users.noreply.github.com> Date: Wed, 9 Apr 2025 21:33:28 +0300 Subject: [PATCH] Limit TeamList mouseregions to correct amount --- Strategic/mapscreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Strategic/mapscreen.cpp b/Strategic/mapscreen.cpp index 15eda907..52e9deb0 100644 --- a/Strategic/mapscreen.cpp +++ b/Strategic/mapscreen.cpp @@ -10968,7 +10968,7 @@ void CreateMouseRegionsForTeamList( void ) // will create mouse regions for assignments, path plotting, character info selection // the info region...is the background for the list itself // OJW - MP - int max_rows = giMAXIMUM_NUMBER_OF_PLAYER_SLOTS; + int max_rows = maxNumberOfMercVisibleInStrategyList; if (is_networked) max_rows = 7; // check this value is correct / unhardcode it