mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-18 01:51:44 +00:00
M_Popup: some more tuning
This commit is contained in:
parent
8e1bb70932
commit
fa9548fcad
1 changed files with 2 additions and 2 deletions
|
@ -490,10 +490,10 @@ M_Popup(void)
|
||||||
|
|
||||||
if (width)
|
if (width)
|
||||||
{
|
{
|
||||||
width += 2 + (width & 1);
|
width += 2;
|
||||||
|
|
||||||
x = (320 - (width + 2) * 8) / 2;
|
x = (320 - (width + 2) * 8) / 2;
|
||||||
y = (240 - (lines + 2) * 8) / 2 - 28;
|
y = (240 - (lines + 2) * 8) / 3;
|
||||||
|
|
||||||
M_DrawTextBox(x, y, width, lines);
|
M_DrawTextBox(x, y, width, lines);
|
||||||
M_Print(x + 16, y + 8, m_popup_string);
|
M_Print(x + 16, y + 8, m_popup_string);
|
||||||
|
|
Loading…
Reference in a new issue