mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
-use the proper functions to calculate the position of the popup screen in Strife.
This commit is contained in:
parent
7ba6860102
commit
87479d3c2f
1 changed files with 3 additions and 1 deletions
|
@ -264,7 +264,9 @@ class StrifeStatusBar : BaseStatusBar
|
|||
// Pop screen (log, keys, and status)
|
||||
if (CurrentPop != POP_None && PopHeight < 0)
|
||||
{
|
||||
DrawPopScreen (Scaled ? (ST_Y - 8) * screen.GetHeight() / 200 : ST_Y - 8, TicFrac);
|
||||
double tmp, h;
|
||||
[tmp, tmp, h] = StatusbarToRealCoords(0, 0, 8);
|
||||
DrawPopScreen (GetTopOfStatusBar() - h, TicFrac);
|
||||
}
|
||||
|
||||
DrawImage("INVBACK", (0, 168), DI_ITEM_OFFSETS);
|
||||
|
|
Loading…
Reference in a new issue