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:
Daniel Gibson 2013-08-31 12:25:09 -07:00
commit f19247957d

View file

@ -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;