Mercurial > hg > openttd
changeset 16994:828e3b8f6b18 draft
(svn r21730) -Fix (r21718): The smallmap owner legend would not be properly initialized in games without companies.
author | terkhen <terkhen@openttd.org> |
---|---|
date | Tue, 04 Jan 2011 22:59:42 +0000 |
parents | 56795b8de540 |
children | 64d87831925d |
files | src/misc.cpp |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ InitializeEconomy(); + /* Rebuild the smallmap owner legend. */ + BuildOwnerLegend(); + ResetObjectToPlace(); GamelogReset();