From d632500b7d5359b16be89804aa1c5ba3d22a87a5 Mon Sep 17 00:00:00 2001 From: terminx Date: Thu, 13 Nov 2008 13:58:53 +0000 Subject: [PATCH] git-svn-id: https://svn.eduke32.com/eduke32@1131 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/Makefile.shared | 2 +- polymer/eduke32/build/src/mmulti_unstable.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/polymer/eduke32/build/Makefile.shared b/polymer/eduke32/build/Makefile.shared index e316f5920..bea331960 100644 --- a/polymer/eduke32/build/Makefile.shared +++ b/polymer/eduke32/build/Makefile.shared @@ -81,7 +81,7 @@ ifeq ($(PLATFORM),DARWIN) endif ifeq ($(PLATFORM),WINDOWS) RENDERTYPE ?= WIN - BUILDCFLAGS+= -DHAVE_INTTYPES -march=i686 + BUILDCFLAGS+= -DHAVE_INTTYPES EXESUFFIX=.exe LIBS+= -lmingwex -lwinmm -L$(DXROOT)/lib -lwsock32 -lcomctl32 #-lshfolder # STDCPPLIB=-lstdc++ diff --git a/polymer/eduke32/build/src/mmulti_unstable.c b/polymer/eduke32/build/src/mmulti_unstable.c index b590c242c..35d576b8f 100644 --- a/polymer/eduke32/build/src/mmulti_unstable.c +++ b/polymer/eduke32/build/src/mmulti_unstable.c @@ -405,6 +405,8 @@ int getpacket(int *other, char *bufptr) { 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]+timeoutcount) {