blob: 00da03f94252c7b679394dc481e8be23013bfa3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- sdlsound.c.orig 2004-07-02 23:03:03.000000000 -0700
+++ sdlsound.c 2004-07-02 23:05:37.000000000 -0700
@@ -205,9 +205,9 @@
int load_sample(int num) {
if((samples[num] = Mix_LoadWAV(samplename[num])) ||
- Mix_LoadWAV(datafilename(NULL, samplename[num])) ||
- Mix_LoadWAV(datafilename(DATADIR, samplename[num])) ||
- Mix_LoadWAV(datafilename(bindir, samplename[num])))
+ (samples[num] = Mix_LoadWAV(datafilename(NULL, samplename[num]))) ||
+ (samples[num] = Mix_LoadWAV(datafilename(DATADIR, samplename[num]))) ||
+ (samples[num] = Mix_LoadWAV(datafilename(bindir, samplename[num]))))
return 1;
return 0;
}
|