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; k = j;
for(i=connecthead;i>=0;i=connectpoint2[i]) 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]) for(i=connecthead;i>=0;i=connectpoint2[i])
{ {
if (playerquitflag[i] == 0) continue; if (playerquitflag[i] == 0) continue;
@ -712,7 +712,7 @@ void getpackets(void)
playerreadyflag[other]++; playerreadyflag[other]++;
break; break;
case 255: case 255:
sendquit(); gameexit(" ");
break; break;
} }
} }
@ -9749,12 +9749,13 @@ char domovethings(void)
pus = NUMPAGES; pus = NUMPAGES;
vscrn(); vscrn();
Bsprintf(buf,"%s is history!",ud.user_name[i]);
quickkill(&ps[i]); quickkill(&ps[i]);
deletesprite(ps[i].i); deletesprite(ps[i].i);
Bsprintf(buf,"%s is history!",ud.user_name[i]);
adduserquote(buf); adduserquote(buf);
Bstrcpy(fta_quotes[116],buf);
ps[myconnectindex].ftq = 116, ps[myconnectindex].fta = 60;
if(j < 0 && networkmode == 0 ) if(j < 0 && networkmode == 0 )
gameexit( " \nThe 'MASTER/First player' just quit the game. All\nplayers are returned from the game."); 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) if (current_menu == 20004)
{ {
x = probesm(23,45,8,10); x = probesm(24,45,8,10);
if(x == -1) if(x == -1)
{ {
cmenu(20002); cmenu(20002);
@ -783,7 +783,7 @@ void menus(void)
KB_FlushKeyboardQueue(); KB_FlushKeyboardQueue();
} }
} else { } else {
x = strget(25,40+(8*probey),buf,34,0); x = strget(26,40+(8*probey),buf,34,0);
if (x) { if (x) {
if (x == 1) { if (x == 1) {
Bstrcpy(ud.ridecule[last_probey],buf); Bstrcpy(ud.ridecule[last_probey],buf);
@ -797,7 +797,7 @@ void menus(void)
for(i=0;i<10;i++) for(i=0;i<10;i++)
{ {
if(current_menu == 20005 && i == last_probey) continue; 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; break;