mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
git-svn-id: https://svn.eduke32.com/eduke32@1131 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
95ea7c8146
commit
d632500b7d
2 changed files with 3 additions and 1 deletions
|
@ -81,7 +81,7 @@ ifeq ($(PLATFORM),DARWIN)
|
||||||
endif
|
endif
|
||||||
ifeq ($(PLATFORM),WINDOWS)
|
ifeq ($(PLATFORM),WINDOWS)
|
||||||
RENDERTYPE ?= WIN
|
RENDERTYPE ?= WIN
|
||||||
BUILDCFLAGS+= -DHAVE_INTTYPES -march=i686
|
BUILDCFLAGS+= -DHAVE_INTTYPES
|
||||||
EXESUFFIX=.exe
|
EXESUFFIX=.exe
|
||||||
LIBS+= -lmingwex -lwinmm -L$(DXROOT)/lib -lwsock32 -lcomctl32 #-lshfolder
|
LIBS+= -lmingwex -lwinmm -L$(DXROOT)/lib -lwsock32 -lcomctl32 #-lshfolder
|
||||||
# STDCPPLIB=-lstdc++
|
# STDCPPLIB=-lstdc++
|
||||||
|
|
|
@ -405,6 +405,8 @@ int getpacket(int *other, char *bufptr)
|
||||||
{
|
{
|
||||||
if (i != myconnectindex)
|
if (i != myconnectindex)
|
||||||
{
|
{
|
||||||
|
// FIXME: this is probably not so great
|
||||||
|
if (udpmode != udpmode_peer) dosendpackets(i);
|
||||||
if (totalclock < lastsendtime[i]) lastsendtime[i] = totalclock;
|
if (totalclock < lastsendtime[i]) lastsendtime[i] = totalclock;
|
||||||
if (totalclock > lastsendtime[i]+timeoutcount)
|
if (totalclock > lastsendtime[i]+timeoutcount)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue