From 3b237f9baa3df98eba6cf585c3499c3fb5cb7387 Mon Sep 17 00:00:00 2001
From: johns <>
Date: Wed, 27 Mar 2002 21:44:04 +0000
Subject: [PATCH] Use commandline given name.

---
 src/ui/menus.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/ui/menus.cpp b/src/ui/menus.cpp
index 396546944..0aff8b099 100644
--- a/src/ui/menus.cpp
+++ b/src/ui/menus.cpp
@@ -1646,7 +1646,8 @@ local void MultiPlayerGameMenu(void)
     StartMenusSetBackground(NULL);
     Invalidate();
     EnterNameMenuItems[1].d.input.buffer = NameBuf;
-    strcpy(NameBuf, "Anonymous~!_");
+    strcpy(NameBuf, NetworkName);
+    strcat(NameBuf, "~!_");
     EnterNameMenuItems[1].d.input.nch = strlen(NameBuf) - 3;
     EnterNameMenuItems[1].d.input.maxch = 15;
     EnterNameMenuItems[2].flags &= ~MenuButtonDisabled;
@@ -2520,7 +2521,7 @@ global void NetClientUpdateState(void)
 **	@param key	Key scancode.
 **	@return		True, if key is handled; otherwise false.
 */
-global int MenuKey(int key)		// FIXME: Should be MenuKeyDown(), and act on _new_ MenuKeyUp() !!!
+global int MenuHandleKeyboard(int key)		// FIXME: Should be MenuKeyDown(), and act on _new_ MenuKeyUp() !!!
 {					//        to implement button animation (depress before action)
     int i, n;
     Menuitem *mi;