From 1c18f9d4de0cb818fbdb429143b99cbd9b48d2d0 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Tue, 29 Nov 2016 07:56:18 +0000 Subject: [PATCH] Fix linking of mdpause variable with POLYMER=0 in screens.c, exposed by Visual Studio. DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@5944 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/screens.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/source/screens.c b/polymer/eduke32/source/screens.c index 71e1e12cf..4ab311ca9 100644 --- a/polymer/eduke32/source/screens.c +++ b/polymer/eduke32/source/screens.c @@ -30,6 +30,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include "menus.h" #include "osdfuncs.h" #include "demo.h" +#include "mdsprite.h" #ifdef __ANDROID__ #include "android.h" @@ -1169,7 +1170,6 @@ void G_DisplayRest(int32_t smoothratio) #endif #ifdef USE_OPENGL - extern int32_t mdpause; mdpause = (ud.pause_on || (ud.recstat==2 && (g_demo_paused && g_demo_goalCnt==0)) || (g_player[myconnectindex].ps->gm&MODE_MENU && numplayers < 2)); #endif