From 23dc236ed7ff2f36aa26ec856c20dc7b633910ab Mon Sep 17 00:00:00 2001
From: Christian Beier <dontmind@freeshell.org>
Date: Tue, 30 Jul 2013 18:33:12 +0200
Subject: [PATCH] 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.
---
 neo/framework/Session.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/neo/framework/Session.cpp b/neo/framework/Session.cpp
index 1dbfa45e..a2c4c2a2 100644
--- a/neo/framework/Session.cpp
+++ b/neo/framework/Session.cpp
@@ -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;