diff options
Diffstat (limited to 'src/sound')
-rw-r--r-- | src/sound/sound.cpp | 2 |
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; |