From: Peep P. <so...@us...> - 2004-07-21 11:56:37
|
Update of /cvsroot/agd/server/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8544 Modified Files: net.c Log Message: Do net_disconnect when player goes netdead Index: net.c =================================================================== RCS file: /cvsroot/agd/server/src/net.c,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- net.c 14 Jun 2004 20:48:08 -0000 1.18 +++ net.c 21 Jul 2004 11:56:28 -0000 1.19 @@ -205,6 +205,7 @@ /* the login object will have to restore this object's iaob */ pl->ob->iaob = NULL; } + net_disconnect(pl); break; default: net_read(pl); @@ -280,8 +281,9 @@ } } #endif - /* call heartbeats on objects here */ - destruct_all(); + /* call heartbeats on objects here */ + + destruct_all(); } /* while(1); */ } |