From d102d0c26dfad035938426ddef5c3194844999d6 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Mon, 2 May 2005 15:52:19 +0000 Subject: (svn r2243) -Fix: Rework of console. Use 'help command|variable' to get help about it. You can assign variables with =, ++, --, or just new value. Console parser is now lenient towards typed spaces, and more robust in general (at least readable). Removed the 'set' command, instead implemented all such variables as 'variables'. - Some variables are really special and cannot be assigned normally, use their callback procedure for assignment/querying. This commit also obsoletes "[1172804] Console set command cleanup" --- player_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player_gui.c') diff --git a/player_gui.c b/player_gui.c index c4910b327..da7de978c 100644 --- a/player_gui.c +++ b/player_gui.c @@ -656,7 +656,7 @@ static void PlayerCompanyWndProc(Window *w, WindowEvent *e) #ifdef ENABLE_NETWORK case 2: /* Change company password */ if (*b == 0) *b = '*'; // empty password is a '*' because of console argument - NetworkChangeCompanyPassword(b); + NetworkChangeCompanyPassword(1, &b); #endif } } break; -- cgit v1.2.3-54-g00ecf