From 2c89e2b61990f69150f2c7216817014b503369aa Mon Sep 17 00:00:00 2001 From: Yohann Ferreira <bertram@cegetel.net> Date: Thu, 13 Jan 2005 16:37:22 +0000 Subject: *** empty log message *** --- src/sound/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sound') diff --git a/src/sound/sound.cpp b/src/sound/sound.cpp index 5e66c208..d9f8d4ce 100644 --- a/src/sound/sound.cpp +++ b/src/sound/sound.cpp @@ -170,7 +170,7 @@ SOUND_SID Sound::loadItem(char *fpath) { std::cout << "Sound::loadItem() precaching \"" << fpath << "\"\n"; #endif Mix_Chunk *newItem; - if (newItem = Mix_LoadWAV(fpath)) { + if( (newItem = Mix_LoadWAV(fpath)) ) { soundpool[++items] = newItem; #ifdef __DEBUG std::cout << "Sound::loadItem() success SOUND_SID = " << items << std::endl; -- cgit v1.2.3-70-g09d2