summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2013-03-07 20:36:30 +0400
committerAndrey Nazarov <skuller@skuller.net>2013-03-07 20:36:30 +0400
commit7d3d8b7a3852c58df9f9c54278a5ed7eaab48a64 (patch)
tree92458ce7339b5eecfc2843182890eb1e932ed3ce /src
parent0f41d333b6cda1f08cde9b60b7c285602e009d38 (diff)
Don't auto download skies in PCX format.
Diffstat (limited to 'src')
-rw-r--r--src/client/download.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/client/download.c b/src/client/download.c
index d521d01..0189685 100644
--- a/src/client/download.c
+++ b/src/client/download.c
@@ -848,13 +848,8 @@ void CL_RequestNextDownload(void)
"rt", "bk", "lf", "ft", "up", "dn"
};
- for (i = 0; i < 12; i++) {
- if (i & 1)
- len = Q_concat(fn, sizeof(fn),
- "env/", cl.configstrings[CS_SKY], env_suf[i >> 1], ".pcx", NULL);
- else
- len = Q_concat(fn, sizeof(fn),
- "env/", cl.configstrings[CS_SKY], env_suf[i >> 1], ".tga", NULL);
+ for (i = 0; i < 6; i++) {
+ len = Q_concat(fn, sizeof(fn), "env/", cl.configstrings[CS_SKY], env_suf[i], ".tga", NULL);
check_file_len(fn, len, DL_OTHER);
}
}