+2002-12-03 Jordi Mallach <jordi@sindominio.net>
+
+ * src/tetrinet.c (tetrinet_inmessage): patch from Niko Böhm, fixes
+ player count after several /move commands.
+
+ * AUTHORS: added Niko.
+
2002-12-02 James Antill <james@and.org>
* src/misc.c (adjust_bottom_text_view): Change function API to work on
/* set up stuff */
connected = TRUE;
ingame = playing = paused = FALSE;
- playercount = spectating ? 0 : 1;
+ playercount = 0;
partyline_text ("\014\02*** Connected to server");
commands_checkstate ();
connectingdialog_destroy ();
else tetrix = FALSE;
}
if (!spectating) {
+ /* If we occupy a previously empty slot increase playercount */
+ if (playernames[playernum][0] == 0)
+ playercount++;
/* set own player/team info */
GTET_O_STRCPY (playernames[playernum], nick);
GTET_O_STRCPY (teamnames[playernum], team);