Added direct native entry points to a larger number of functions.
This commit is contained in:
parent
a846ed391e
commit
6c9d0b166a
17 changed files with 1112 additions and 720 deletions
|
|
@ -1813,8 +1813,9 @@ void S_RelinkSound (AActor *from, AActor *to)
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
bool S_ChangeSoundVolume(AActor *actor, int channel, float volume)
|
||||
bool S_ChangeSoundVolume(AActor *actor, int channel, double dvolume)
|
||||
{
|
||||
float volume = float(dvolume);
|
||||
// don't let volume get out of bounds
|
||||
if (volume < 0.0)
|
||||
volume = 0.0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue