mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-27 22:42:29 +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();
|
||||
if (!netgame)
|
||||
{
|
||||
G_CheckDemoStatus();
|
||||
if (demorecording)
|
||||
G_CheckDemoStatus();
|
||||
D_StartTitle();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue