summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-11-08 21:41:00 +0000
committerfrosch <frosch@openttd.org>2012-11-08 21:41:00 +0000
commita443375d444b6bf3575730eae9fc56d23820a217 (patch)
tree6c8a1bce2725dc53ba316da02260cc1f074dcd52 /src/network
parent1efd1ffa823b514a353d2383c1ec1b8d8a253999 (diff)
downloadopenttd-a443375d444b6bf3575730eae9fc56d23820a217.tar.xz
(svn r24674) -Fix (r24466, r23234) [FS#5358]: Downloaded heightmaps could not be used anymore. (sbr)
Diffstat (limited to 'src/network')
-rw-r--r--src/network/core/tcp_content.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/network/core/tcp_content.cpp b/src/network/core/tcp_content.cpp
index 07b28fd6d..95b31fc9d 100644
--- a/src/network/core/tcp_content.cpp
+++ b/src/network/core/tcp_content.cpp
@@ -241,9 +241,8 @@ Subdirectory GetContentInfoSubDir(ContentType type)
case CONTENT_TYPE_BASE_MUSIC:
return BASESET_DIR;
- case CONTENT_TYPE_SCENARIO:
- case CONTENT_TYPE_HEIGHTMAP:
- return SCENARIO_DIR;
+ case CONTENT_TYPE_SCENARIO: return SCENARIO_DIR;
+ case CONTENT_TYPE_HEIGHTMAP: return HEIGHTMAP_DIR;
}
}
#endif /* OPENTTD_MSU */