(svn r21733) -Codechange: Clarify the update owner legend code.

-Fix: Prevent crashes caused by deleted companies.
This commit is contained in:
terkhen
2011-01-05 11:04:29 +00:00
parent d8e967ef2a
commit 789da3ffa3
3 changed files with 28 additions and 7 deletions

View File

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