DRASCULA: Remove dead code
This commit is contained in:
parent
5fc59f9bd8
commit
53f38aeff1
1 changed files with 1 additions and 3 deletions
|
@ -40,10 +40,8 @@ void DrasculaEngine::checkForOldSaveGames() {
|
|||
Common::InSaveFile *indexFile = _saveFileMan->openForLoading(indexFileName);
|
||||
|
||||
// Check for the existence of an old index file
|
||||
if (!indexFile) {
|
||||
delete indexFile;
|
||||
if (!indexFile)
|
||||
return;
|
||||
}
|
||||
|
||||
GUI::MessageDialog dialog0(
|
||||
_("ScummVM found that you have old savefiles for Drascula that should be converted.\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue