mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 15:22:08 +00:00
- fixed Playdemo and Timedemo check
The assumption that D_DoomLoop never returns does not apply anymore. Let it fall through to the end instead where this is properly handled.
This commit is contained in:
parent
2bc787b1cc
commit
ff58e4ec6f
1 changed files with 0 additions and 2 deletions
|
@ -3520,7 +3520,6 @@ static int D_DoomMain_Internal (void)
|
||||||
{
|
{
|
||||||
singledemo = true; // quit after one demo
|
singledemo = true; // quit after one demo
|
||||||
G_DeferedPlayDemo (v);
|
G_DeferedPlayDemo (v);
|
||||||
D_DoomLoop (); // never returns
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -3528,7 +3527,6 @@ static int D_DoomMain_Internal (void)
|
||||||
if (v)
|
if (v)
|
||||||
{
|
{
|
||||||
G_TimeDemo(v);
|
G_TimeDemo(v);
|
||||||
D_DoomLoop(); // never returns
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue