diff options
author | krzys-h <krzys_h@interia.pl> | 2013-05-01 13:19:10 +0200 |
---|---|---|
committer | krzys-h <krzys_h@interia.pl> | 2013-05-01 13:19:10 +0200 |
commit | 9e1870f6bdb24e278c06929b8bd13225a7fdf8d3 (patch) | |
tree | e95cb1832a1584ff2e6c5e02941a2d1f80c83bcd /src/sound | |
parent | 293376b82d8fa313b17685b73c110a33123f9077 (diff) | |
download | colobot-9e1870f6bdb24e278c06929b8bd13225a7fdf8d3.tar.gz colobot-9e1870f6bdb24e278c06929b8bd13225a7fdf8d3.tar.bz2 colobot-9e1870f6bdb24e278c06929b8bd13225a7fdf8d3.zip |
Removed some warnings
+ fix for previous commit
Diffstat (limited to 'src/sound')
-rw-r--r-- | src/sound/sound.h | 2 |
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()) ) |