c89 fixes
This commit is contained in:
parent
cd9195d080
commit
de90ee7232
1 changed files with 1 additions and 2 deletions
|
@ -316,13 +316,12 @@ local int HowManyFree(void)
|
|||
local int KeepRequest(SoundRequest* sr) {
|
||||
//FIXME: take fight flag into account
|
||||
int channel;
|
||||
const SoundChannel* theChannel;
|
||||
|
||||
if (sr->Sound == NO_SOUND) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
const SoundChannel* theChannel;
|
||||
|
||||
// slow but working solution: we look for the source in the channels
|
||||
theChannel = Channels;
|
||||
for (channel = 0; channel < MaxChannels; ++channel) {
|
||||
|
|
Loading…
Add table
Reference in a new issue