(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 5c9e09419d
commit ec8f087a0b

View File

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