diff --git a/source/games/duke/src/game_misc.cpp b/source/games/duke/src/game_misc.cpp index d852e68c2..8ff35e184 100644 --- a/source/games/duke/src/game_misc.cpp +++ b/source/games/duke/src/game_misc.cpp @@ -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); diff --git a/source/games/duke/src/render.cpp b/source/games/duke/src/render.cpp index 2a9cef2e1..6825de04a 100644 --- a/source/games/duke/src/render.cpp +++ b/source/games/duke/src/render.cpp @@ -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; diff --git a/source/games/duke/src/sbar.h b/source/games/duke/src/sbar.h index a9456a5e9..c6f167087 100644 --- a/source/games/duke/src/sbar.h +++ b/source/games/duke/src/sbar.h @@ -28,5 +28,6 @@ public: }; extern int levelTextTime; +void DrawBorder(); END_DUKE_NS