changeset 19741:0221fa1da54e draft

(svn r24674) -Fix (r24466, r23234) [FS#5358]: Downloaded heightmaps could not be used anymore. (sbr)
author frosch <frosch@openttd.org>
date Thu, 08 Nov 2012 21:41:00 +0000
parents 198a17fe1043
children 3ece751fc82e
files src/network/core/tcp_content.cpp
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/network/core/tcp_content.cpp
+++ b/src/network/core/tcp_content.cpp
@@ -241,9 +241,8 @@
 		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 */