Default player color to map defined, fix multiplayer map restart issue

git-svn-id: https://svn.eduke32.com/eduke32@55 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2006-04-18 08:51:52 +00:00
parent bfe939946d
commit 4af83bd423
2 changed files with 2 additions and 1 deletions

View file

@ -231,6 +231,7 @@ void CONFIG_SetDefaults( void )
ud.drawweapon = 1; ud.drawweapon = 1;
ud.brightskins = 0; ud.brightskins = 0;
ud.democams = 1; ud.democams = 1;
ud.color = 0;
ShowOpponentWeapons = 0; ShowOpponentWeapons = 0;
Bstrcpy(ud.rtsname, "DUKE.RTS"); Bstrcpy(ud.rtsname, "DUKE.RTS");

View file

@ -356,7 +356,7 @@ void getpackets(void)
k = j; k = j;
for(i=connecthead;i>=0;i=connectpoint2[i]) for(i=connecthead;i>=0;i=connectpoint2[i])
j += playerquitflag[i] + playerquitflag[i]; j += playerquitflag[i]+1;
for(i=connecthead;i>=0;i=connectpoint2[i]) for(i=connecthead;i>=0;i=connectpoint2[i])
{ {
if (playerquitflag[i] == 0) continue; if (playerquitflag[i] == 0) continue;