summaryrefslogtreecommitdiff
path: root/src/misc.cpp
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2011-01-05 11:04:29 +0000
committerterkhen <terkhen@openttd.org>2011-01-05 11:04:29 +0000
commit03088daddaed0f3d844fd714a887149fd42593f8 (patch)
tree16e5de1b791e0d20497cfa0a4e198baf7f2c46a3 /src/misc.cpp
parent68412eebec8487abcbd243e39e983b429163032e (diff)
downloadopenttd-03088daddaed0f3d844fd714a887149fd42593f8.tar.xz
(svn r21733) -Codechange: Clarify the update owner legend code.
-Fix: Prevent crashes caused by deleted companies.
Diffstat (limited to 'src/misc.cpp')
-rw-r--r--src/misc.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/misc.cpp b/src/misc.cpp
index e2f6d0929..40fd7e0d8 100644
--- a/src/misc.cpp
+++ b/src/misc.cpp
@@ -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();