1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-23 14:39:08 +00:00

(svn r10282) [0.5] -Fix: compilation without networking support.

[0.5] -Fix: crashes with subsidy messages when using Korean as language.
This commit is contained in:
rubidium
2007-06-22 21:06:51 +00:00
parent 5edc24e66a
commit 71347cae43
4 changed files with 7 additions and 1 deletions

View File

@@ -66,7 +66,9 @@ static void SelectGameWndProc(Window *w, WindowEvent *e)
case WE_CLICK:
/* Do not create a network server when you (just) have closed one of the game
* creation/load windows for the network server. */
#ifdef ENABLE_NETWORK
if (2 <= e->we.click.widget && e->we.click.widget <= 6) _is_network_server = false;
#endif /* ENABLE_NETWORK */
switch (e->we.click.widget) {
case 2: ShowGenerateLandscape(); break;