File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -359,7 +359,7 @@ int playRvid(const char* filename) {
359359 confirmReturn = true ;
360360 break ;
361361 }
362- if (keysDown () & KEY_LEFT) {
362+ if (( keysDown () & KEY_LEFT) && currentFrame > 0 ) {
363363 confirmStop = true ;
364364 break ;
365365 }
@@ -396,7 +396,7 @@ int playRvid(const char* filename) {
396396 confirmReturn = true ;
397397 break ;
398398 }
399- if (keysDown () & KEY_LEFT) {
399+ if (( keysDown () & KEY_LEFT) && currentFrame > 0 ) {
400400 confirmStop = true ;
401401 break ;
402402 }
@@ -419,10 +419,10 @@ int playRvid(const char* filename) {
419419 snd ().beginStream ();
420420 }
421421 }
422- if (keysDown () & KEY_LEFT) {
422+ if (( keysDown () & KEY_LEFT) && currentFrame > 0 ) {
423423 confirmStop = true ;
424424 }
425- if ((videoPlaying && confirmStop) || currentFrame > (int )rvidHeader.frames ) {
425+ if (confirmStop || currentFrame > (int )rvidHeader.frames ) {
426426 videoPlaying = false ;
427427 snd ().stopStream ();
428428
You can’t perform that action at this time.
0 commit comments