summaryrefslogtreecommitdiffstats
path: root/src/sound
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound')
-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 0148242..e6a97df 100644
--- a/src/sound/sound.h
+++ b/src/sound/sound.h
@@ -167,7 +167,7 @@ class CSoundInterface
* Function calls \link CSoundInterface::Cache() \endlink for each file
*/
inline void CacheAll(std::string path) {
- for ( int i = 1; i <= 81; i++ ) {
+ for ( int i = 1; i <= 80; i++ ) {
std::stringstream filename;
filename << path << "/sound" << std::setfill('0') << std::setw(3) << i << ".wav";
if ( !Cache(static_cast<Sound>(i), filename.str()) )