Allow to exit Game when a connection drops
This commit is contained in:
parent
4a4f1ecb0e
commit
265a322535
6 changed files with 96 additions and 11 deletions
|
@ -1166,7 +1166,7 @@ void renderMenu(int menu,int xscr,int yscr){
|
|||
memset(text, 0, (50+8+1) * sizeof(char));
|
||||
networkGetNodeName(j, text);
|
||||
|
||||
drawText(text,(400-(strlen(text)*12))/2,i*32+32);
|
||||
drawText(text,(400-(strlen(text)*12))/2,i*26+32);
|
||||
|
||||
free(text);
|
||||
lastj = j;
|
||||
|
@ -1234,7 +1234,7 @@ void renderMenu(int menu,int xscr,int yscr){
|
|||
memset(text, 0, (50+8+1) * sizeof(char));
|
||||
networkGetNodeName(j, text);
|
||||
|
||||
drawText(text,(400-(strlen(text)*12))/2,i*32+32);
|
||||
drawText(text,(400-(strlen(text)*12))/2,i*26+32);
|
||||
|
||||
free(text);
|
||||
lastj = j;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue