From b890bcb84070813a2dd5dbf14fb74b10ac7cced3 Mon Sep 17 00:00:00 2001 From: terkhen Date: Tue, 4 Jan 2011 22:59:42 +0000 Subject: (svn r21730) -Fix (r21718): The smallmap owner legend would not be properly initialized in games without companies. --- src/misc.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/misc.cpp b/src/misc.cpp index 40fd7e0d8..e2f6d0929 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -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(); -- cgit v1.2.3-54-g00ecf