mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
CR
This commit is contained in:
parent
691ace7cc6
commit
9df68dc2f1
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue