fix win32 build

git-svn-id: https://svn.eduke32.com/eduke32@1805 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2011-02-25 22:50:59 +00:00
parent bf01b5b474
commit a241d80030

View file

@ -67,7 +67,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <shellapi.h>
#include <WinIoCtl.h>
extern int32_t G_GetVersionFromWebsite(char *buffer);
#define UPDATEINTERVAL 604800 // 1w
#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
bindsenabled = g_player[myconnectindex].ps->gm & (MODE_GAME|MODE_DEMO);
#ifndef _WIN32
// stdin -> OSD input for dedicated server
if (g_networkMode == NET_DEDICATED_SERVER)
{
@ -10072,6 +10072,7 @@ MAIN_LOOP_RESTART:
}
}
else
#endif
{
MUSIC_Update();
G_HandleLocalKeys();