From 75a496f970f551c4019fbce501f20db2008b66d6 Mon Sep 17 00:00:00 2001 From: terminx Date: Mon, 27 Aug 2007 20:36:36 +0000 Subject: [PATCH] git-svn-id: https://svn.eduke32.com/eduke32@565 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/duke3d.h | 2 +- polymer/eduke32/source/gameexec.c | 4 ++-- polymer/eduke32/source/premap.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/polymer/eduke32/source/duke3d.h b/polymer/eduke32/source/duke3d.h index b8b2770ce..b7aa6b95f 100644 --- a/polymer/eduke32/source/duke3d.h +++ b/polymer/eduke32/source/duke3d.h @@ -304,7 +304,7 @@ typedef struct { unsigned long bits, extbits; } input; -// #define sync dsync // JBF 20040604: sync is a function on some platforms +#define sync dsync // JBF 20040604: sync is a function on some platforms extern input recsync[RECSYNCBUFSIZ]; extern long movefifosendplc; diff --git a/polymer/eduke32/source/gameexec.c b/polymer/eduke32/source/gameexec.c index 55e632b56..1ce295e25 100644 --- a/polymer/eduke32/source/gameexec.c +++ b/polymer/eduke32/source/gameexec.c @@ -6308,12 +6308,12 @@ static int parse(void) if (g_player[g_p].ps->knee_incs == 0 && sprite[g_player[g_p].ps->i].xrepeat >= 40) if (cansee(g_sp->x,g_sp->y,g_sp->z-(4<<8),g_sp->sectnum,g_player[g_p].ps->posx,g_player[g_p].ps->posy,g_player[g_p].ps->posz+(16<<8),sprite[g_player[g_p].ps->i].sectnum)) { - for (j=0;jactorsqu == g_i) break; } - if (j == MAXPLAYERS) + if (j == ud.multimode) { g_player[g_p].ps->knee_incs = 1; if (g_player[g_p].ps->weapon_pos == 0) diff --git a/polymer/eduke32/source/premap.c b/polymer/eduke32/source/premap.c index 59bb291a2..e33983d3d 100644 --- a/polymer/eduke32/source/premap.c +++ b/polymer/eduke32/source/premap.c @@ -1313,7 +1313,7 @@ static void resetpspritevars(char g) resetplayerstats(0); for (i=1;i