mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-06-01 09:21:58 +00:00
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:
parent
e2c91c04da
commit
23dc236ed7
1 changed files with 1 additions and 1 deletions
|
@ -2076,7 +2076,7 @@ bool idSessionLocal::LoadGame( const char *saveName ) {
|
||||||
savegameFile->ReadString( gamename );
|
savegameFile->ReadString( gamename );
|
||||||
|
|
||||||
// if this isn't a savegame for the correct game, abort loadgame
|
// 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() );
|
common->Warning( "Attempted to load an invalid savegame: %s", in.c_str() );
|
||||||
|
|
||||||
loadingSaveGame = false;
|
loadingSaveGame = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue