diff options
author | rubidium <rubidium@openttd.org> | 2009-03-06 19:33:45 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-06 19:33:45 +0000 |
commit | 406832fed8008718aad8005215c1ecfbdb6f9d3a (patch) | |
tree | 785d2e3194f2744aa1c4620d6c6364ac056d5a8a /src/network/network_content_gui.cpp | |
parent | bc58d4ef9a13623f1b7c679a298940383c6b4a20 (diff) | |
download | openttd-406832fed8008718aad8005215c1ecfbdb6f9d3a.tar.xz |
(svn r15632) -Feature: allow downloading scenarios and heightmaps via bananas.
Diffstat (limited to 'src/network/network_content_gui.cpp')
-rw-r--r-- | src/network/network_content_gui.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp index a2be8557d..2c2f9eac6 100644 --- a/src/network/network_content_gui.cpp +++ b/src/network/network_content_gui.cpp @@ -98,6 +98,13 @@ public: InvalidateWindowData(WC_NETWORK_WINDOW, 0, 2); break; + case CONTENT_TYPE_SCENARIO: + case CONTENT_TYPE_HEIGHTMAP: + InvalidateWindowClasses(WC_SAVELOAD); + extern void ScanScenarios(); + ScanScenarios(); + break; + default: break; } |