tBraces added to make the code look pretty - vaccinewars - be a doctor and try to vaccinate the world (HTM) git clone git://src.adamsgaard.dk/vaccinewars (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 595f93c2d9494c8687cde117f26f0d2ad609b169 (DIR) parent 9fbed717f335f34015f8b8ad98c14054d102ef97 (HTM) Author: Ben Webb <ben@salilab.org> Date: Mon, 25 Feb 2002 18:41:30 +0000 Braces added to make the code look pretty Diffstat: M src/dopewars.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- (DIR) diff --git a/src/dopewars.c b/src/dopewars.c t@@ -758,7 +758,7 @@ GSList *AddPlayer(int fd, Player *NewPlayer, GSList *First) NewPlayer->ID = 0; /* Generate a unique player ID, if we're the server (clients get their * IDs from the server, so don't need to generate IDs) */ - if (Server) + if (Server) { while (list) { tmp = (Player *)list->data; if (tmp->ID == NewPlayer->ID) { t@@ -768,6 +768,7 @@ GSList *AddPlayer(int fd, Player *NewPlayer, GSList *First) list = g_slist_next(list); } } + } NewPlayer->Name = NULL; SetPlayerName(NewPlayer, NULL); NewPlayer->IsAt = 0;