Skip to content

Commit c23eee4

Browse files
authored
[GEN][ZH] Fix missing break at switch case REVERSESOUNDTRANSITION_FIRESOUND in ReverseSoundTransition::update() (#1158)
1 parent 9d75559 commit c23eee4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Generals/Code/GameEngine/Source/GameClient/GUI/GameWindowTransitionsStyles.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2029,8 +2029,9 @@ void ReverseSoundTransition::update( Int frame )
20292029
{
20302030
TheAudio->addAudioEvent( &buttonClick );
20312031
} // end if
2032-
20332032
}
2033+
break;
2034+
20342035
case REVERSESOUNDTRANSITION_END:
20352036
{
20362037
if(!m_isForward )

GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GameWindowTransitionsStyles.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2029,8 +2029,9 @@ void ReverseSoundTransition::update( Int frame )
20292029
{
20302030
TheAudio->addAudioEvent( &buttonClick );
20312031
} // end if
2032-
20332032
}
2033+
break;
2034+
20342035
case REVERSESOUNDTRANSITION_END:
20352036
{
20362037
if(!m_isForward )

0 commit comments

Comments
 (0)