From 9e1870f6bdb24e278c06929b8bd13225a7fdf8d3 Mon Sep 17 00:00:00 2001 From: krzys-h Date: Wed, 1 May 2013 13:19:10 +0200 Subject: Removed some warnings + fix for previous commit --- src/sound/sound.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sound') 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(i), filename.str()) ) -- cgit v1.2.3-1-g7c22