mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- SW: Use floating point radians instead of converting integer Build angle into radians for when updating a sound's angle.
This commit is contained in:
parent
8abd67a3b1
commit
6aecc18c35
1 changed files with 1 additions and 1 deletions
|
@ -608,7 +608,7 @@ void GameInterface::UpdateSounds(void)
|
|||
}
|
||||
else tang = pp->angle.ang;
|
||||
|
||||
listener.angle = float(-tang.asbuild() * BAngRadian); // Build uses a period of 2048.
|
||||
listener.angle = float(-tang.asrad());
|
||||
listener.velocity.Zero();
|
||||
listener.position = GetSoundPos(&pp->pos);
|
||||
listener.underwater = false;
|
||||
|
|
Loading…
Reference in a new issue