mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 18:21:06 +00:00
- actor clearing cleaned up.
We still need this until we can get rid of the static arrays...
This commit is contained in:
parent
c4d23188d5
commit
8a2385dd89
17 changed files with 36 additions and 30 deletions
|
@ -736,12 +736,13 @@ static int nextquicksave = -1;
|
|||
|
||||
void DoLoadGame(const char* name)
|
||||
{
|
||||
gi->FreeLevelData();
|
||||
if (ReadSavegame(name))
|
||||
{
|
||||
gameaction = ga_level;
|
||||
}
|
||||
else
|
||||
{
|
||||
gameaction = ga_level;
|
||||
}
|
||||
else
|
||||
{
|
||||
I_Error("%s: Failed to open savegame", name);
|
||||
}
|
||||
}
|
||||
|
@ -765,7 +766,6 @@ static int nextquicksave = -1;
|
|||
}
|
||||
|
||||
inputState.ClearAllInput();
|
||||
gi->FreeLevelData();
|
||||
DoLoadGame(savename);
|
||||
BackupSaveGame = savename;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue