summaryrefslogtreecommitdiff
path: root/src/sound
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-01-13 16:37:22 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-01-13 16:37:22 +0000
commit2c89e2b61990f69150f2c7216817014b503369aa (patch)
tree544eb161eca10c40dc110ec839b9b3a13b27eaec /src/sound
parente93ff5b7e0afca0e2188de9c8807206e34f6ce05 (diff)
downloadmana-client-2c89e2b61990f69150f2c7216817014b503369aa.tar.gz
mana-client-2c89e2b61990f69150f2c7216817014b503369aa.tar.bz2
mana-client-2c89e2b61990f69150f2c7216817014b503369aa.tar.xz
mana-client-2c89e2b61990f69150f2c7216817014b503369aa.zip
*** empty log message ***
Diffstat (limited to 'src/sound')
-rw-r--r--src/sound/sound.cpp2
1 files changed, 1 insertions, 1 deletions
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;