summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2011-01-04 20:57:11 +0000
committerterkhen <terkhen@openttd.org>2011-01-04 20:57:11 +0000
commit2103f7e91a87bf090dd5c5e82fdad8e392b2df4a (patch)
tree1dea5eb73d3cb1be86cad8e659acf12f91d674b8 /src/saveload
parente4b8a4e3bf6208e59b27bae0bb431db98dbbf6f1 (diff)
downloadopenttd-2103f7e91a87bf090dd5c5e82fdad8e392b2df4a.tar.xz
(svn r21718) -Feature: Show a list of companies in the owner legend.
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/afterload.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp
index 1fedffffa..2ca600c6e 100644
--- a/src/saveload/afterload.cpp
+++ b/src/saveload/afterload.cpp
@@ -50,6 +50,7 @@
#include "../engine_func.h"
#include "../rail_gui.h"
#include "../core/backup_type.hpp"
+#include "../smallmap_gui.h"
#include "table/strings.h"
@@ -263,6 +264,9 @@ static void InitializeWindowsAndCaches()
CheckTrainsLengths();
ShowNewGRFError();
ShowAIDebugWindowIfAIError();
+
+ /* Rebuild the smallmap list of owners. */
+ BuildOwnerLegend();
}
typedef void (CDECL *SignalHandlerPointer)(int);