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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user