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
This commit is contained in:
hendricks266 2016-11-29 07:56:18 +00:00
parent 7a96542c40
commit 1c18f9d4de

View file

@ -30,6 +30,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "menus.h" #include "menus.h"
#include "osdfuncs.h" #include "osdfuncs.h"
#include "demo.h" #include "demo.h"
#include "mdsprite.h"
#ifdef __ANDROID__ #ifdef __ANDROID__
#include "android.h" #include "android.h"
@ -1169,7 +1170,6 @@ void G_DisplayRest(int32_t smoothratio)
#endif #endif
#ifdef USE_OPENGL #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)); mdpause = (ud.pause_on || (ud.recstat==2 && (g_demo_paused && g_demo_goalCnt==0)) || (g_player[myconnectindex].ps->gm&MODE_MENU && numplayers < 2));
#endif #endif