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

This commit is contained in:
terminx 2006-04-22 08:22:07 +00:00
parent 428bff1b34
commit 59649efc87
2 changed files with 8 additions and 7 deletions

View file

@ -432,7 +432,7 @@ void getpackets(void)
k = j;
for(i=connecthead;i>=0;i=connectpoint2[i])
j += playerquitflag[i]+1;
j += playerquitflag[i]+playerquitflag[i];
for(i=connecthead;i>=0;i=connectpoint2[i])
{
if (playerquitflag[i] == 0) continue;
@ -712,7 +712,7 @@ void getpackets(void)
playerreadyflag[other]++;
break;
case 255:
sendquit();
gameexit(" ");
break;
}
}
@ -9749,12 +9749,13 @@ char domovethings(void)
pus = NUMPAGES;
vscrn();
Bsprintf(buf,"%s is history!",ud.user_name[i]);
quickkill(&ps[i]);
deletesprite(ps[i].i);
Bsprintf(buf,"%s is history!",ud.user_name[i]);
adduserquote(buf);
Bstrcpy(fta_quotes[116],buf);
ps[myconnectindex].ftq = 116, ps[myconnectindex].fta = 60;
if(j < 0 && networkmode == 0 )
gameexit( " \nThe 'MASTER/First player' just quit the game. All\nplayers are returned from the game.");

View file

@ -766,7 +766,7 @@ void menus(void)
if (current_menu == 20004)
{
x = probesm(23,45,8,10);
x = probesm(24,45,8,10);
if(x == -1)
{
cmenu(20002);
@ -783,7 +783,7 @@ void menus(void)
KB_FlushKeyboardQueue();
}
} else {
x = strget(25,40+(8*probey),buf,34,0);
x = strget(26,40+(8*probey),buf,34,0);
if (x) {
if (x == 1) {
Bstrcpy(ud.ridecule[last_probey],buf);
@ -797,7 +797,7 @@ void menus(void)
for(i=0;i<10;i++)
{
if(current_menu == 20005 && i == last_probey) continue;
gametextpal(25,40+(i<<3),ud.ridecule[i],MENUHIGHLIGHT(i),0);
gametextpal(26,40+(i<<3),ud.ridecule[i],MENUHIGHLIGHT(i),0);
}
break;