stop music on f2 restart, so the music resets, too (not sure if ResetGame(true)
should do this)
This commit is contained in:
@@ -1337,7 +1337,10 @@ bool HandleGlobalInputs( DeviceInput DeviceI, InputEventType type, GameInput Gam
|
|||||||
|
|
||||||
/* If we're in screen test mode, reload the screen. */
|
/* If we're in screen test mode, reload the screen. */
|
||||||
if( PREFSMAN->m_bScreenTestMode || bCtrl )
|
if( PREFSMAN->m_bScreenTestMode || bCtrl )
|
||||||
|
{
|
||||||
|
SOUND->StopMusic();
|
||||||
ResetGame( true );
|
ResetGame( true );
|
||||||
|
}
|
||||||
else
|
else
|
||||||
SCREENMAN->SystemMessage( "Reloaded metrics and textures" );
|
SCREENMAN->SystemMessage( "Reloaded metrics and textures" );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user