mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 15:22:08 +00:00
- fixed: endgame menu no longer resets player's userinfo
User CVARs can be stored in member variables for quicker access Unconditional call to G_CheckDemoStatus() destructs and recreates such CVARs Dangling pointers could be accessed during the last game tick, e.g. from event handlers https://forum.zdoom.org/viewtopic.php?t=65150
This commit is contained in:
parent
8ad9aafaa8
commit
841a69d527
1 changed files with 2 additions and 1 deletions
|
@ -135,7 +135,8 @@ void ActivateEndGameMenu()
|
||||||
M_ClearMenus();
|
M_ClearMenus();
|
||||||
if (!netgame)
|
if (!netgame)
|
||||||
{
|
{
|
||||||
G_CheckDemoStatus();
|
if (demorecording)
|
||||||
|
G_CheckDemoStatus();
|
||||||
D_StartTitle();
|
D_StartTitle();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue