summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;