1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-16 19:19:09 +00:00

(svn r20512) -Fix [FS#4036]: Generation seed is unsigned.

This commit is contained in:
frosch
2010-08-16 09:44:05 +00:00
parent 65b43667fa
commit 31bebd3ad5

@@ -970,7 +970,7 @@ DEF_CONSOLE_CMD(ConNewGame)
return true; return true;
} }
StartNewGameWithoutGUI((argc == 2) ? (uint)atoi(argv[1]) : GENERATE_NEW_SEED); StartNewGameWithoutGUI((argc == 2) ? strtoul(argv[1], NULL, 10) : GENERATE_NEW_SEED);
return true; return true;
} }