Limit TeamList mouseregions to correct amount

This commit is contained in:
Asdow
2025-04-09 21:33:28 +03:00
parent 20a33893d9
commit 07320ba996
+1 -1
View File
@@ -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; // <TODO> check this value is correct / unhardcode it