mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r21730) -Fix (r21718): The smallmap owner legend would not be properly initialized in games without companies.
This commit is contained in:
parent
5c9e09419d
commit
ec8f087a0b
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user