use 2 columns for 17 to 32 players, 3 for 33-48, 4 otherwise

This commit is contained in:
nheir 2018-11-28 20:55:02 +01:00
parent 62e0ee998c
commit 2b471f31f2

View file

@ -244,9 +244,12 @@ void CSpectator::OnRender()
if(TotalCount > 16)
{
ColumnSize = 16;
ScaleX = 2.0f;
ScaleY = 0.5f;
}
if(TotalCount > 48)
ScaleX = 2.0f;
else if(TotalCount > 32)
ScaleX = 1.5f;
// draw background
float Width = 400*3.0f*Graphics()->ScreenAspect();