mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 04:00:42 +00:00
- SW: Remove gi->FreeGameData()
from game as its inside code wasn't freeing game data but level data already freed in gi->FreeLevelData()
.
* This was causing `GameMain()` to try to call `TerminateLevel()` after tile data had been freed, causing a hard stop. * Fixes #464.
This commit is contained in:
parent
c5f63b95e5
commit
d9a7465c08
2 changed files with 0 additions and 6 deletions
|
@ -754,11 +754,6 @@ GameStats GameInterface::getStats()
|
|||
return { pp->Kills, TotalKillable, pp->SecretsFound, LevelSecrets, PlayClock / 120, 0 };
|
||||
}
|
||||
|
||||
void GameInterface::FreeGameData()
|
||||
{
|
||||
TerminateLevel();
|
||||
}
|
||||
|
||||
void GameInterface::FreeLevelData()
|
||||
{
|
||||
TerminateLevel();
|
||||
|
|
|
@ -2237,7 +2237,6 @@ struct GameInterface : public ::GameInterface
|
|||
void LoadGameTextures();
|
||||
void loadPalette();
|
||||
void clearlocalinputstate() override;
|
||||
void FreeGameData() override;
|
||||
void FreeLevelData() override;
|
||||
bool GenerateSavePic() override;
|
||||
void MenuSound(EMenuSounds snd) override;
|
||||
|
|
Loading…
Reference in a new issue