mirror of https://github.com/OpenTTD/OpenTTD
(svn r1772) -Fix: [ 1114100 ] Dedicated server boots again
parent
83a889d678
commit
3f45338cc9
4
ttd.c
4
ttd.c
|
@ -530,8 +530,6 @@ static void LoadIntroGame(void)
|
||||||
GfxLoadSprites();
|
GfxLoadSprites();
|
||||||
LoadStringWidthTable();
|
LoadStringWidthTable();
|
||||||
|
|
||||||
GenerateWorld(1, 6, 6); // Make the viewport initialization happy
|
|
||||||
|
|
||||||
// Setup main window
|
// Setup main window
|
||||||
InitWindowSystem();
|
InitWindowSystem();
|
||||||
SetupColorsAndInitialWindow();
|
SetupColorsAndInitialWindow();
|
||||||
|
@ -720,6 +718,8 @@ int ttd_main(int argc, char* argv[])
|
||||||
|
|
||||||
InitPlayerRandoms();
|
InitPlayerRandoms();
|
||||||
|
|
||||||
|
GenerateWorld(1, 6, 6); // Make the viewport initialization happy
|
||||||
|
|
||||||
#ifdef ENABLE_NETWORK
|
#ifdef ENABLE_NETWORK
|
||||||
if ((network) && (_network_available)) {
|
if ((network) && (_network_available)) {
|
||||||
if (network_conn != NULL) {
|
if (network_conn != NULL) {
|
||||||
|
|
Loading…
Reference in New Issue