fix: PVS-Studio V560
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
This commit is contained in:
parent
ab28b4df70
commit
ba2fe68ec6
@ -159,7 +159,7 @@ void ALStream::update(double delta) {
|
||||
unqueueBuffers(alsource);
|
||||
uint preloaded = enqueueBuffers(alsource);
|
||||
|
||||
if (speaker->isStopped() && !alspeaker->stopped) {
|
||||
if (speaker->isStopped() && !alspeaker->stopped) { //FIXME: !alspeaker->stopped always true //-V560
|
||||
if (preloaded) {
|
||||
speaker->play();
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user