mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +00:00
- removed unneeded check for 'listenactor' in S_UpdateSounds.
This commit is contained in:
parent
d2beec4585
commit
f2666f70dd
1 changed files with 16 additions and 19 deletions
|
@ -1917,8 +1917,6 @@ void S_UpdateSounds (AActor *listenactor)
|
|||
S_ActivatePlayList(false);
|
||||
}
|
||||
|
||||
if (listenactor != NULL)
|
||||
{
|
||||
// should never happen
|
||||
S_SetListener(listener, listenactor);
|
||||
|
||||
|
@ -1944,7 +1942,6 @@ void S_UpdateSounds (AActor *listenactor)
|
|||
S_RestoreEvictedChannels();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue