mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-20 09:29:44 +00:00
cleanup
This commit is contained in:
parent
1bb66ebf1f
commit
498868a8d5
1 changed files with 1 additions and 2 deletions
|
|
@ -275,8 +275,7 @@ void ALStream::update(double delta) {
|
|||
unqueueBuffers(alsource);
|
||||
uint preloaded = enqueueBuffers(alsource);
|
||||
|
||||
// alspeaker->stopped is assigned to false at ALSpeaker::play(...)
|
||||
if (speaker->isStopped() && !alspeaker->manuallyStopped) { //TODO: -V560 false-positive?
|
||||
if (speaker->isStopped()) {
|
||||
if (preloaded) {
|
||||
speaker->play();
|
||||
} else if (isStopOnEnd()){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue