tTerminators are now stripped from the player name _before_ sending the first network message. - 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 bff49e9a1b8881899f51a3cff801faebdc151ba3
(DIR) parent 06a6cf06e04c72ace71e8e754ea4dfccc12fdd58
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Mon, 29 Apr 2002 11:07:42 +0000
Terminators are now stripped from the player name _before_ sending the
first network message.
Diffstat:
M src/gui_client/gtk_client.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/gui_client/gtk_client.c b/src/gui_client/gtk_client.c
t@@ -1904,9 +1904,9 @@ void GuiStartGame(void)
{
Player *Play = ClientData.Play;
+ StripTerminators(GetPlayerName(Play));
InitAbilities(Play);
SendAbilities(Play);
- StripTerminators(GetPlayerName(Play));
SendNullClientMessage(Play, C_NONE, C_NAME, NULL, GetPlayerName(Play));
InGame = TRUE;
UpdateMenus();