Enable loading of original DOOM 3 save games.

This makes it possible to use dhwem3 as a drop-in replacement for an existing doom3 installation.
This commit is contained in:
Christian Beier 2013-07-30 18:33:12 +02:00
parent e2c91c04da
commit 23dc236ed7

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;