forked from mirror/OpenTTD
(svn r18506) -Fix [FS#3368]: no error message was created for the first fatal NewGRF error.
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
#include "saveload/saveload.h"
|
||||
#include "void_map.h"
|
||||
#include "town.h"
|
||||
#include "newgrf.h"
|
||||
|
||||
#include "table/sprites.h"
|
||||
|
||||
@@ -168,6 +169,8 @@ static void _GenerateWorld(void *arg)
|
||||
|
||||
CleanupGeneration();
|
||||
|
||||
ShowNewGRFError();
|
||||
|
||||
if (_network_dedicated) DEBUG(net, 0, "Map generated, starting game");
|
||||
DEBUG(desync, 1, "new_map: %i\n", _settings_game.game_creation.generation_seed);
|
||||
|
||||
|
Reference in New Issue
Block a user