- Duke: draw the screen border after all the content it's supposed to mask.

This commit is contained in:
Christoph Oelckers 2020-08-19 22:16:57 +02:00
parent f888df9f5b
commit 70bc99dba7
3 changed files with 4 additions and 3 deletions

View file

@ -40,10 +40,12 @@ Modifications for JonoF's port by Jonathon Fowler (jf@jonof.id.au)
#include "st_start.h"
#include "i_interface.h"
#include "prediction.h"
#include "sbar.h"
#include "glbackend/glbackend.h"
BEGIN_DUKE_NS
FFont* IndexFont;
FFont* DigiFont;
@ -346,6 +348,7 @@ void displayrest(double smoothratio)
}
}
DrawBorder();
if (isRR()) drawstatusbar_r(screenpeek);
else drawstatusbar_d(screenpeek);

View file

@ -34,8 +34,6 @@ Modifications for JonoF's port by Jonathon Fowler (jf@jonof.id.au)
BEGIN_DUKE_NS
void DrawBorder();
//---------------------------------------------------------------------------
//
// Floor Over Floor
@ -473,7 +471,6 @@ void displayrooms(int snum, int smoothratio)
int tiltcs = 0; // JBF 20030807
p = &ps[snum];
DrawBorder();
if (ud.overhead_on == 2 || p->cursectnum == -1)
return;

View file

@ -28,5 +28,6 @@ public:
};
extern int levelTextTime;
void DrawBorder();
END_DUKE_NS