[colobot] 235/390: Fixed loading sound 0

Didier Raboud odyx at moszumanska.debian.org
Fri Jun 12 14:21:49 UTC 2015


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch upstream/latest
in repository colobot.

commit e3e551de22c2542b7e7a40df3b8b87e28b4a8ca2
Author: krzys-h <krzys_h at interia.pl>
Date:   Thu Dec 11 19:00:02 2014 +0100

    Fixed loading sound 0
---
 src/sound/sound.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sound/sound.cpp b/src/sound/sound.cpp
index ab92ec1..582ab1c 100644
--- a/src/sound/sound.cpp
+++ b/src/sound/sound.cpp
@@ -45,7 +45,7 @@ bool CSoundInterface::Create()
 
 void CSoundInterface::CacheAll()
 {
-    for ( int i = 1; i < SOUND_MAX; i++ )
+    for ( int i = 0; i < SOUND_MAX; i++ )
     {
         std::stringstream filename;
         filename << "sounds/sound" << std::setfill('0') << std::setw(3) << i << ".wav";

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git



More information about the Pkg-games-commits mailing list