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) {