1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-22 05:59:10 +00:00

(svn r1502) -Fix: [1101889] Crash under windows... stupid typo in player_gui.c ^ should've been &

-Fix: in multiplayer clientlist can only be opened once
This commit is contained in:
darkvater
2005-01-13 20:46:39 +00:00
parent 7dddb6cf7a
commit 352cf002b2
3 changed files with 6 additions and 4 deletions

View File

@@ -1255,9 +1255,11 @@ static void ClientListWndProc(Window *w, WindowEvent *e)
}
}
void ShowClientList()
void ShowClientList(void)
{
AllocateWindowDesc(&_client_list_desc);
Window *w = AllocateWindowDescFront(&_client_list_desc, 0);
if (w)
w->window_number = 0;
}
extern void SwitchMode(int new_mode);