mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02: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
|
||||
G_DeferedPlayDemo (v);
|
||||
D_DoomLoop (); // never returns
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -3528,7 +3527,6 @@ static int D_DoomMain_Internal (void)
|
|||
if (v)
|
||||
{
|
||||
G_TimeDemo(v);
|
||||
D_DoomLoop(); // never returns
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue