net_delplayer.. Server/Host quit problem

origin
stpohle 23 years ago
parent 8c9733c0cf
commit 59db4d669e

@ -1,3 +1,11 @@
- Fixed: SuSe could not compile the game right.
#include <sys/time.h> was needed. not only <time.h>
- Fixed: Problem if the Server Quit.. the game haven't stopped
The whole network situation within the game got mixed up
Version 0.9.7 Version 0.9.7
============= =============
2003-04-27 2003-04-27

@ -636,6 +636,9 @@ net_delplayer (int pl_nr)
} }
} }
if (GT_MP_PTPS && pl_nr == 0) /* masterservber quit */
bman.state = GS_startup;
if (GT_MP_PTPM && bman.notifygamemaster) if (GT_MP_PTPM && bman.notifygamemaster)
gamesrv_sendmode (bman.maxplayer, bman.players_nr_s); gamesrv_sendmode (bman.maxplayer, bman.players_nr_s);
}; };

Loading…
Cancel
Save