Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions code/prboom/g_game.c
Original file line number Diff line number Diff line change
Expand Up @@ -1617,8 +1617,11 @@ void G_DoLoadGame(void)
gameaction = ga_nothing;

length = M_ReadFile(name, &savebuffer);
if (length<=0)
I_Error("Couldn't read file %s: %s", name, "(Unknown Error)");
if (length<=0) {
//I_Error("Couldn't read file %s: %s", name, "(Unknown Error)");
doom_printf("No save game found.");
return;
}
save_p = savebuffer + SAVESTRINGSIZE;

// CPhipps - read the description field, compare with supported ones
Expand Down