aboutsummaryrefslogtreecommitdiffstats
path: root/al/source.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-09-30 03:03:27 -0700
committerChris Robinson <[email protected]>2019-09-30 03:03:27 -0700
commitcf617760b6eb68d38493dd546746880cd5c88b90 (patch)
treed99e41e624e9860fc3f0bc8243fe85a4cdebe0d8 /al/source.cpp
parent0139d8a04fb6e976124206449c2fa3b9f2c2f56a (diff)
Separate a couple assignments from conditionals
Diffstat (limited to 'al/source.cpp')
-rw-r--r--al/source.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/al/source.cpp b/al/source.cpp
index a802cabc..6d15f73a 100644
--- a/al/source.cpp
+++ b/al/source.cpp
@@ -3159,7 +3159,8 @@ START_API_FUNC
/* Source is now streaming */
source->SourceType = AL_STREAMING;
- if(!(BufferList=source->queue))
+ BufferList = source->queue;
+ if(!BufferList)
source->queue = BufferListStart;
else
{