Permalink
Browse files

chooseworstteam fix

git-svn-id: https://sauerbraten.svn.sourceforge.net/svnroot/sauerbraten/src@3301 ac1f7847-fce6-4368-a212-70e9bdee79d4
  • Loading branch information...
1 parent ef418f6 commit deff013e108b67efa4b90045e38ac01ce424dce3 eihrul committed Oct 12, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 fpsgame/server.cpp
View
@@ -2114,7 +2114,7 @@ namespace server
if(mastermode>=MM_LOCKED) ci->state.state = CS_SPECTATOR;
ci->state.lasttimeplayed = lastmillis;
- const char *worst = m_teammode ? chooseworstteam(text, ci) : NULL;
+ const char *worst = m_teammode ? chooseworstteam(NULL, ci) : NULL;
copystring(ci->team, worst ? worst : "good", MAXTEAMLEN+1);
sendwelcome(ci);

0 comments on commit deff013

Please sign in to comment.