git-svn-id: https://svn.eduke32.com/eduke32@565 1a8010ca-5511-0410-912e-c29ae57300e0

This commit is contained in:
terminx 2007-08-27 20:36:36 +00:00
parent 19c34b09ef
commit 75a496f970
3 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -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;j<MAXPLAYERS;j++)
for (j=0;j<ud.multimode;j++)
{
if (g_player[j].ps->actorsqu == 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)

View file

@ -1313,7 +1313,7 @@ static void resetpspritevars(char g)
resetplayerstats(0);
for (i=1;i<ud.multimode;i++)
memcpy(g_player[i].ps,g_player[0].ps,sizeof(g_player[0].ps));
memcpy(g_player[i].ps,g_player[0].ps,sizeof(player_struct));
if (ud.recstat != 2)
for (i=0;i<ud.multimode;i++)