bot & sound cleanups

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1829 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-04-23 18:59:31 +00:00
parent df3b971932
commit 3dec83151a
9 changed files with 13 additions and 15 deletions
+2 -1
View File
@@ -151,9 +151,10 @@ void disconnect(int onlyclean, int async)
player1->clientnum = -1;
player1->lifesequence = 0;
player1->clientrole = CR_DEFAULT;
if(m_botmode) BotManager.EndMap();
kickallbots();
loopv(players) zapplayer(players[i]);
clearvote();
clearsounds();
localdisconnect();
}
if(!connpeer && clienthost)