mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Limit TeamList mouseregions to correct amount
This commit is contained in:
@@ -10968,7 +10968,7 @@ void CreateMouseRegionsForTeamList( void )
|
|||||||
// will create mouse regions for assignments, path plotting, character info selection
|
// will create mouse regions for assignments, path plotting, character info selection
|
||||||
// the info region...is the background for the list itself
|
// the info region...is the background for the list itself
|
||||||
// OJW - MP
|
// OJW - MP
|
||||||
int max_rows = giMAXIMUM_NUMBER_OF_PLAYER_SLOTS;
|
int max_rows = maxNumberOfMercVisibleInStrategyList;
|
||||||
if (is_networked)
|
if (is_networked)
|
||||||
max_rows = 7; // <TODO> check this value is correct / unhardcode it
|
max_rows = 7; // <TODO> check this value is correct / unhardcode it
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user