mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 03:00:38 +00:00
fix win32 build
git-svn-id: https://svn.eduke32.com/eduke32@1805 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
bf01b5b474
commit
a241d80030
1 changed files with 2 additions and 1 deletions
|
@ -67,7 +67,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <shellapi.h>
|
#include <shellapi.h>
|
||||||
#include <WinIoCtl.h>
|
|
||||||
extern int32_t G_GetVersionFromWebsite(char *buffer);
|
extern int32_t G_GetVersionFromWebsite(char *buffer);
|
||||||
#define UPDATEINTERVAL 604800 // 1w
|
#define UPDATEINTERVAL 604800 // 1w
|
||||||
#else
|
#else
|
||||||
|
@ -10048,6 +10047,7 @@ MAIN_LOOP_RESTART:
|
||||||
// only allow binds to function if the player is actually in a game (not in a menu, typing, et cetera) or demo
|
// only allow binds to function if the player is actually in a game (not in a menu, typing, et cetera) or demo
|
||||||
bindsenabled = g_player[myconnectindex].ps->gm & (MODE_GAME|MODE_DEMO);
|
bindsenabled = g_player[myconnectindex].ps->gm & (MODE_GAME|MODE_DEMO);
|
||||||
|
|
||||||
|
#ifndef _WIN32
|
||||||
// stdin -> OSD input for dedicated server
|
// stdin -> OSD input for dedicated server
|
||||||
if (g_networkMode == NET_DEDICATED_SERVER)
|
if (g_networkMode == NET_DEDICATED_SERVER)
|
||||||
{
|
{
|
||||||
|
@ -10072,6 +10072,7 @@ MAIN_LOOP_RESTART:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
MUSIC_Update();
|
MUSIC_Update();
|
||||||
G_HandleLocalKeys();
|
G_HandleLocalKeys();
|
||||||
|
|
Loading…
Reference in a new issue