small cleanups
This commit is contained in:
parent
ec29274629
commit
f0525e4769
1 changed files with 2 additions and 4 deletions
|
@ -608,9 +608,7 @@ global void PlayMusic(const char* name)
|
|||
/**
|
||||
** Play a sound file.
|
||||
**
|
||||
** Currenly a synonym for PlayMusic
|
||||
**
|
||||
** @param name Name of sound file, format is automatic detected.
|
||||
** @param name Name of sound file
|
||||
*/
|
||||
global void PlayFile(char* name)
|
||||
{
|
||||
|
@ -620,7 +618,7 @@ global void PlayFile(char* name)
|
|||
} else {
|
||||
id = MakeSound("dynamic-sound", &name, 1);
|
||||
}
|
||||
PlayGameSound(id, MaxSampleVolume);
|
||||
PlayGameSound(id, GlobalVolume);
|
||||
}
|
||||
|
||||
#endif // } WITH_SOUND
|
||||
|
|
Loading…
Add table
Reference in a new issue