mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-21 03:01:36 +00:00
- play the camera switch sound as a UI sound to reduce problems.
Due to how sound positioning works, doing this in 3D will cause various problems with cameras too far away or random bleeps emanating from the cameras.
This commit is contained in:
parent
342b90c8f9
commit
54d3d8e96d
1 changed files with 1 additions and 1 deletions
|
@ -1693,7 +1693,7 @@ void checksectors_d(int snum)
|
|||
if (sprite[i].picnum == CAMERA1 && sprite[i].yvel == 0 && sprite[neartagsprite].hitag == sprite[i].lotag)
|
||||
{
|
||||
sprite[i].yvel = 1; //Using this camera
|
||||
S_PlayActorSound(MONITOR_ACTIVE, neartagsprite);
|
||||
if (snum == screenpeek) S_PlaySound(MONITOR_ACTIVE);
|
||||
|
||||
sprite[neartagsprite].owner = i;
|
||||
sprite[neartagsprite].yvel = 1;
|
||||
|
|
Loading…
Reference in a new issue