mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +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
|
||||
// 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user