mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 02:16:51 +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() {
|
void Player::play() {
|
||||||
computeCurrentFrame();
|
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
|
// If it's the end of the recording, stop playing
|
||||||
stopPlaying();
|
stopPlaying();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue