Fix disastrous playback problem

This commit is contained in:
Matthias Neeracher 2008-07-13 21:51:32 +00:00
parent 67df3a4723
commit 37bdc531be

View File

@ -587,7 +587,7 @@
switch (int tag = [sender tag]) {
case 0: // Play
VLSoundOut::Instance()->SetPlayRate(playRate = 1.0f);
if (!nowPlaying)
if (!hasMusicSequence || !nowPlaying)
[self play:sender];
else if (VLSoundOut::Instance()->AtEnd())
VLSoundOut::Instance()->SetTime(0);