blob: eb2eb0c2ada4d457c3f8437d53742c2019ce687f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- a/sdlsound.c.orig 2004-07-02 23:03:03.000000000 -0700
+++ b/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;
}
|