mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-05-03 15:17:59 +03:00
fix demo mode
This commit is contained in:
parent
a1b9c2401e
commit
8095ea2ac1
2 changed files with 3 additions and 1 deletions
|
@ -147,7 +147,7 @@ int32_t ControlPhase(int32_t nframes, int32_t demo_mode)
|
||||||
S_UpdateInput();
|
S_UpdateInput();
|
||||||
|
|
||||||
if (ResetFlag) {
|
if (ResetFlag) {
|
||||||
return GF_EXIT_TO_TITLE;
|
return GF_NOP_BREAK;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (demo_mode) {
|
if (demo_mode) {
|
||||||
|
|
|
@ -59,6 +59,8 @@ int32_t StopGame()
|
||||||
|
|
||||||
int32_t GameLoop(int32_t demo_mode)
|
int32_t GameLoop(int32_t demo_mode)
|
||||||
{
|
{
|
||||||
|
NoInputCount = 0;
|
||||||
|
ResetFlag = 0;
|
||||||
OverlayFlag = 1;
|
OverlayFlag = 1;
|
||||||
InitialiseCamera();
|
InitialiseCamera();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue