mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-03-21 02:01:03 +00:00
Merge pull request #76 from bk138/master
Enable loading of original DOOM 3 save games (by accepting the original game name "DOOM 3"
This commit is contained in:
commit
f19247957d
1 changed files with 1 additions and 1 deletions
|
@ -2076,7 +2076,7 @@ bool idSessionLocal::LoadGame( const char *saveName ) {
|
|||
savegameFile->ReadString( gamename );
|
||||
|
||||
// if this isn't a savegame for the correct game, abort loadgame
|
||||
if ( gamename != GAME_NAME ) {
|
||||
if ( ! (gamename == GAME_NAME || gamename == "DOOM 3") ) {
|
||||
common->Warning( "Attempted to load an invalid savegame: %s", in.c_str() );
|
||||
|
||||
loadingSaveGame = false;
|
||||
|
|
Loading…
Reference in a new issue