This commit is contained in:
Atlante45 2014-08-28 10:58:07 -07:00
parent 691ace7cc6
commit 9df68dc2f1

View file

@ -290,7 +290,7 @@ void Player::loadRecording(RecordingPointer recording) {
void Player::play() {
computeCurrentFrame();
if (_currentFrame < 0 || _currentFrame >= _recording->getFrameNumber() - 1) {
if (_currentFrame < 0 || (_currentFrame >= _recording->getFrameNumber() - 1)) {
// If it's the end of the recording, stop playing
stopPlaying();