mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-20 18:52:43 +00:00
- Blood: Use sprite angle radians in GameInterface::UpdateSounds()
.
This commit is contained in:
parent
633fb01487
commit
0993799967
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ void GameInterface::UpdateSounds()
|
|||
|
||||
if (pPlayer->actor)
|
||||
{
|
||||
listener.angle = -pPlayer->actor->spr.int_ang() * float(BAngRadian); // Build uses a period of 2048.
|
||||
listener.angle = -pPlayer->actor->spr.angle.Radians();
|
||||
listener.velocity.Zero();
|
||||
listener.position = GetSoundPos(pPlayer->actor->spr.pos);
|
||||
listener.valid = true;
|
||||
|
|
Loading…
Reference in a new issue