diff --git a/d3xp/Player.cpp b/d3xp/Player.cpp index dc779df..718a8cc 100644 --- a/d3xp/Player.cpp +++ b/d3xp/Player.cpp @@ -2536,6 +2536,13 @@ void idPlayer::Restore( idRestoreGame *savefile ) { savefile->ReadFloat( bloomSpeed ); savefile->ReadFloat( bloomIntensity ); #endif + + // DG: workaround for lingering messages that are shown forever after loading a savegame + // (one way to get them is saving again, while the message from first save is still + // shown, and then load) + if ( hud ) { + hud->SetStateString( "message", "" ); + } } /* diff --git a/game/Player.cpp b/game/Player.cpp index f46f8b5..dbf7176 100644 --- a/game/Player.cpp +++ b/game/Player.cpp @@ -2137,6 +2137,13 @@ void idPlayer::Restore( idRestoreGame *savefile ) { // create combat collision hull for exact collision detection SetCombatModel(); + + // DG: workaround for lingering messages that are shown forever after loading a savegame + // (one way to get them is saving again, while the message from first save is still + // shown, and then load) + if ( hud ) { + hud->SetStateString( "message", "" ); + } } /*