Fixed the issue related to trigging holdheads before they reach the receptor, at least I think that, more tests to be done (issue 150)

This commit is contained in:
Alberto Ramos
2010-07-18 18:54:37 -06:00
parent 7ae0b82816
commit daa32fc3f8
11 changed files with 119 additions and 54 deletions
+5 -1
View File
@@ -353,6 +353,8 @@ void ScreenGameplay::Init()
FAIL_ON_MISS_COMBO.Load( m_sName, "FailOnMissCombo" );
ALLOW_CENTER_1_PLAYER.Load( m_sName, "AllowCenter1Player" );
USE_ALTERNATIVE_INPUT.Load( m_sName, "UseAlternativeInput");
//configurable
UNPAUSE_WITH_GAME_BUTTON_START.Load( m_sName, "AllowUnpausingWithGameButtonStart" );
if( UseSongBackgroundAndForeground() )
{
@@ -2170,7 +2172,9 @@ void ScreenGameplay::Input( const InputEventPlus &input )
if( GAMESTATE->IsHumanPlayer(input.pn) && input.MenuI == GAME_BUTTON_START && input.type == IET_FIRST_PRESS )
{
if( m_PauseController == GameController_Invalid || m_PauseController == input.GameI.controller )
this->PauseGame( false );
//IMO is better to have this configurable -DaisuMaster
if( UNPAUSE_WITH_GAME_BUTTON_START )
this->PauseGame( false );
}
return;
}