This should fix a bug with ifgotweaponce where the game had a rare chance of crashing and burning in cooperative

git-svn-id: https://svn.eduke32.com/eduke32@375 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2006-12-01 22:34:32 +00:00
parent 0d22a2a208
commit 36f69beeb6
3 changed files with 12 additions and 11 deletions

View file

@ -3439,12 +3439,12 @@ void displayrest(long smoothratio)
if (ud.coords) if (ud.coords)
coords(screenpeek); coords(screenpeek);
#if defined(POLYMOST) && defined(USE_OPENGL) #if defined(POLYMOST) && defined(USE_OPENGL)
{ {
extern char mdpause; extern char mdpause;
mdpause = ud.pause_on; mdpause = ud.pause_on;
} }
#endif #endif
tics(); tics();

View file

@ -3840,6 +3840,7 @@ char parse(void)
ps[g_p].weaprecs[ps[g_p].weapreccnt++] = g_sp->picnum; ps[g_p].weaprecs[ps[g_p].weapreccnt++] = g_sp->picnum;
parseifelse(g_sp->owner == g_i); parseifelse(g_sp->owner == g_i);
} }
else parseifelse(0);
} }
else parseifelse(0); else parseifelse(0);
break; break;