mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-02 09:40:35 +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
0b27228d9a
commit
b890bcb840
@ -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