mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +00:00
fix: PVS-Studio V560
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
This commit is contained in:
parent
ab28b4df70
commit
ba2fe68ec6
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ void ALStream::update(double delta) {
|
||||||
unqueueBuffers(alsource);
|
unqueueBuffers(alsource);
|
||||||
uint preloaded = enqueueBuffers(alsource);
|
uint preloaded = enqueueBuffers(alsource);
|
||||||
|
|
||||||
if (speaker->isStopped() && !alspeaker->stopped) {
|
if (speaker->isStopped() && !alspeaker->stopped) { //FIXME: !alspeaker->stopped always true //-V560
|
||||||
if (preloaded) {
|
if (preloaded) {
|
||||||
speaker->play();
|
speaker->play();
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue