- the chat should use the console's scaling, not the one for the messages printed with the small font.

This commit is contained in:
Christoph Oelckers 2022-06-05 16:29:42 +02:00
parent a59436c4c2
commit efd4a0b33a

View file

@ -269,7 +269,7 @@ void CT_Drawer (void)
y = (viewactive || gamestate != GS_LEVEL) ? -displayfont->GetHeight()-2 : -displayfont->GetHeight() - 22; y = (viewactive || gamestate != GS_LEVEL) ? -displayfont->GetHeight()-2 : -displayfont->GetHeight() - 22;
scalex = 1; scalex = 1;
int scale = active_con_scaletext(drawer); int scale = active_con_scale(drawer);
int screen_width = twod->GetWidth() / scale; int screen_width = twod->GetWidth() / scale;
int screen_height= twod->GetHeight() / scale; int screen_height= twod->GetHeight() / scale;
int st_y = StatusBar->GetTopOfStatusbar() / scale; int st_y = StatusBar->GetTopOfStatusbar() / scale;