- Fixed: Blood sound effect namespacing was broken.

SVN r2220 (trunk)
This commit is contained in:
Randy Heit 2010-03-18 03:55:51 +00:00
commit aedb646a52
2 changed files with 29 additions and 26 deletions

View file

@ -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;