Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Kevin Whitaker
Arbitrateor
Commits
f75419cf
Commit
f75419cf
authored
Feb 23, 2017
by
Kevin Whitaker
Browse files
Don't pull from request queue unless the next item also was already up for voting.
parent
df0e044a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/GroovePlayer.cpp
View file @
f75419cf
...
...
@@ -323,7 +323,7 @@ void GroovePlayerMgr::grooveEventLoop()
else
{
//Pick request song if there are any.
if
(
requestQueue
.
size
()
>
0
)
if
(
requestQueue
.
size
()
>
0
&&
requestQueue
.
front
().
first
.
trackFingerprint
==
currentVoteBatch
.
back
().
trackFingerprint
)
//Assumes back is track 3.
{
winner
=
requestQueue
.
front
().
first
;
requestQueue
.
pop_front
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment