Some more stuff I missed.

This commit is contained in:
Mari the Deer 2023-11-25 23:10:51 +01:00
commit b13e3db930
3 changed files with 4 additions and 4 deletions

View file

@ -360,7 +360,7 @@ extend Class SWWMStatusBar
int mstart = max(0,MainQueue.Size()-((chatopen>=gametic)?MAXSHOWNBIG:MAXSHOWN));
xx = xmargin;
yy = ymargin;
bool smol = (ss.x<640);
bool smol = (min(ss.x,ss.y/.5625)<640);
Screen.DrawTexture(ChatTex[smol?3:0],false,xx,yy,DTA_VirtualWidthF,ss.x,DTA_VirtualHeightF,ss.y,DTA_KeepRatio,true,DTA_Alpha,boxalph);
yy += 2;
for ( int i=mstart; i<MainQueue.Size(); i++ )

View file

@ -791,7 +791,7 @@ extend Class SWWMStatusBar
// obviously, don't draw the minimap if the automap is open
if ( !automapactive && swwm_mm_enable )
{
bool smol = (ss.x<480);
bool smol = (min(ss.x,ss.y/.5625)<480);
int hsz = smol?HALFMAPSIZE_SMALL:HALFMAPSIZE;
xx = int(ss.x-(xmargin+(hsz+2)*2));
Screen.DrawTexture(MiniBox[smol],false,xx,yy,DTA_VirtualWidthF,ss.x,DTA_VirtualHeightF,ss.y,DTA_KeepRatio,true);