(svn r21730) -Fix (r21718): The smallmap owner legend would not be properly initialized in games without companies.

This commit is contained in:
terkhen 2011-01-04 22:59:42 +00:00
parent 0b27228d9a
commit b890bcb840
1 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,7 @@
#include "tilehighlight_func.h"
#include "network/network_func.h"
#include "window_func.h"
#include "smallmap_gui.h"
extern TileIndex _cur_tileloop_tile;
@ -121,6 +122,9 @@ void InitializeGame(uint size_x, uint size_y, bool reset_date, bool reset_settin
InitializeEconomy();
/* Rebuild the smallmap owner legend. */
BuildOwnerLegend();
ResetObjectToPlace();
GamelogReset();