- do not list savegames for different IWADs.

This commit is contained in:
Christoph Oelckers 2016-09-22 17:39:09 +02:00
parent f52e2a8cc4
commit d9dbf26f63

View file

@ -271,6 +271,12 @@ void DLoadSaveMenu::ReadSaveStrings ()
{ {
missing = !G_CheckSaveGameWads(arc, false); missing = !G_CheckSaveGameWads(arc, false);
} }
else
{
// different game. Skip this.
delete savegame;
continue;
}
FSaveGameNode *node = new FSaveGameNode; FSaveGameNode *node = new FSaveGameNode;
node->Filename = filepath; node->Filename = filepath;