summaryrefslogtreecommitdiffstats
path: root/src/sound/sound.h
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-12-29 15:01:57 +0100
committerPiotr Dziwinski <piotrdz@gmail.com>2012-12-29 15:01:57 +0100
commita134cb75c5dd2570b9aeb1530701086d4f3f593d (patch)
treed5b1b158fb0d53b612b860013102126394ff6cc2 /src/sound/sound.h
parentcf65681f8029c2c1e5f18cc3776bdb09c8bd1db0 (diff)
downloadcolobot-a134cb75c5dd2570b9aeb1530701086d4f3f593d.tar.gz
colobot-a134cb75c5dd2570b9aeb1530701086d4f3f593d.tar.bz2
colobot-a134cb75c5dd2570b9aeb1530701086d4f3f593d.zip
Merge of master and dev
Diffstat (limited to 'src/sound/sound.h')
-rw-r--r--src/sound/sound.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound/sound.h b/src/sound/sound.h
index 566f415..518e2ad 100644
--- a/src/sound/sound.h
+++ b/src/sound/sound.h
@@ -168,7 +168,7 @@ class CSoundInterface
* Function calls \link CSoundInterface::Cache() \endlink for each file
*/
inline void CacheAll(std::string path) {
- for ( int i = 1; i < 69; i++ ) {
+ for ( int i = 1; i <= 81; i++ ) {
std::stringstream filename;
filename << path << "/sound" << std::setfill('0') << std::setw(3) << i << ".wav";
if ( !Cache(static_cast<Sound>(i), filename.str()) )