- Fixed: Blood sound effect namespacing was broken.
SVN r2220 (trunk)
This commit is contained in:
parent
8b98a3510e
commit
aedb646a52
2 changed files with 29 additions and 26 deletions
|
|
@ -1977,7 +1977,7 @@ void AAmbientSound::Tick ()
|
|||
|
||||
if (ambient->sound[0])
|
||||
{
|
||||
// The second argumens scales the ambient sound's volume.
|
||||
// The second argument scales the ambient sound's volume.
|
||||
// 0 and 128 are normal volume. The maximum volume level
|
||||
// possible is always 1.
|
||||
float volscale = args[1] == 0 ? 1 : args[1] / 128.f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue