summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-08-24 13:33:49 +0000
committerrubidium <rubidium@openttd.org>2011-08-24 13:33:49 +0000
commit0061b5f1842776ff4d69bf9f3bcdfb348b2f5a76 (patch)
tree3f45b215933b577fb159c9df743926ebdca1d126 /src/network
parentbbdc8fdba7d30099d80227659919930f3dedf84b (diff)
downloadopenttd-0061b5f1842776ff4d69bf9f3bcdfb348b2f5a76.tar.xz
(svn r22822) -Codechange: make a distinction between base sets and newgrfs for their directory
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_content.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/network_content.cpp b/src/network/network_content.cpp
index 5cf4aa724..3c7730684 100644
--- a/src/network/network_content.cpp
+++ b/src/network/network_content.cpp
@@ -375,10 +375,10 @@ static char *GetFullFilename(const ContentInfo *ci, bool compressed)
Subdirectory dir;
switch (ci->type) {
default: return NULL;
- case CONTENT_TYPE_BASE_GRAPHICS: dir = DATA_DIR; break;
+ case CONTENT_TYPE_BASE_GRAPHICS: dir = BASESET_DIR; break;
case CONTENT_TYPE_BASE_MUSIC: dir = GM_DIR; break;
- case CONTENT_TYPE_BASE_SOUNDS: dir = DATA_DIR; break;
- case CONTENT_TYPE_NEWGRF: dir = DATA_DIR; break;
+ case CONTENT_TYPE_BASE_SOUNDS: dir = BASESET_DIR; break;
+ case CONTENT_TYPE_NEWGRF: dir = NEWGRF_DIR; break;
case CONTENT_TYPE_AI: dir = AI_DIR; break;
case CONTENT_TYPE_AI_LIBRARY: dir = AI_LIBRARY_DIR; break;
case CONTENT_TYPE_SCENARIO: dir = SCENARIO_DIR; break;