mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
parent
775eabcd3d
commit
c8cde7fb3b
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,7 @@
|
|||
#include "animtexture.h"
|
||||
#include "gamestate.h"
|
||||
#include "menu.h"
|
||||
#include "raze_sound.h"
|
||||
#include "movie/playmve.h"
|
||||
|
||||
|
||||
|
@ -119,6 +120,7 @@ public:
|
|||
if (curframe > 4 && totalclock > frametime + 60)
|
||||
{
|
||||
Printf("WARNING: slowdown in video playback, aborting\n");
|
||||
soundEngine->StopAllChannels();
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
@ -126,6 +128,7 @@ public:
|
|||
{
|
||||
twod->ClearScreen();
|
||||
DrawTexture(twod, animtex.GetFrame(), 0, 0, DTA_FullscreenEx, 3, DTA_Masked, false, TAG_DONE);
|
||||
if (skiprequest) soundEngine->StopAllChannels();
|
||||
return skiprequest? -1 : 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue