mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-18 23:21:43 +00:00
git-svn-id: https://svn.eduke32.com/eduke32@565 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
19c34b09ef
commit
75a496f970
3 changed files with 4 additions and 4 deletions
|
@ -304,7 +304,7 @@ typedef struct {
|
||||||
unsigned long bits, extbits;
|
unsigned long bits, extbits;
|
||||||
} input;
|
} 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 input recsync[RECSYNCBUFSIZ];
|
||||||
|
|
||||||
extern long movefifosendplc;
|
extern long movefifosendplc;
|
||||||
|
|
|
@ -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 (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))
|
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)
|
if (g_player[j].ps->actorsqu == g_i)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (j == MAXPLAYERS)
|
if (j == ud.multimode)
|
||||||
{
|
{
|
||||||
g_player[g_p].ps->knee_incs = 1;
|
g_player[g_p].ps->knee_incs = 1;
|
||||||
if (g_player[g_p].ps->weapon_pos == 0)
|
if (g_player[g_p].ps->weapon_pos == 0)
|
||||||
|
|
|
@ -1313,7 +1313,7 @@ static void resetpspritevars(char g)
|
||||||
resetplayerstats(0);
|
resetplayerstats(0);
|
||||||
|
|
||||||
for (i=1;i<ud.multimode;i++)
|
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)
|
if (ud.recstat != 2)
|
||||||
for (i=0;i<ud.multimode;i++)
|
for (i=0;i<ud.multimode;i++)
|
||||||
|
|
Loading…
Reference in a new issue