From 59db4d669e3a51923ab5c5736f05c6f900b5c846 Mon Sep 17 00:00:00 2001 From: stpohle Date: Sun, 27 Apr 2003 23:01:49 +0000 Subject: [PATCH] net_delplayer.. Server/Host quit problem --- ChangeLog | 8 ++++++++ src/network.c | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b63c802..1df285d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ + +- Fixed: SuSe could not compile the game right. + #include was needed. not only + +- 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 ============= 2003-04-27 diff --git a/src/network.c b/src/network.c index 3455d84..467f102 100644 --- a/src/network.c +++ b/src/network.c @@ -285,7 +285,7 @@ network_loop () } } - /* + /* resend_cache.... */ rscache_loop (); @@ -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) gamesrv_sendmode (bman.maxplayer, bman.players_nr_s); };