Skip to content

Commit cd34be5

Browse files
authored
[GEN][ZH] Fix missing break at switch case SPEECH_PLAY in ScriptAction::ParseAction() (#1154)
1 parent 1802377 commit cd34be5

File tree

2 files changed

+2
-2
lines changed
  • GeneralsMD/Code/GameEngine/Source/GameLogic/ScriptEngine
  • Generals/Code/GameEngine/Source/GameLogic/ScriptEngine

2 files changed

+2
-2
lines changed

Generals/Code/GameEngine/Source/GameLogic/ScriptEngine/Scripts.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2445,8 +2445,8 @@ Bool ScriptAction::ParseActionDataChunk(DataChunkInput &file, DataChunkInfo *inf
24452445
pScriptAction->m_numParms = 2;
24462446
// Default it to TRUE, as per conversation with JohnL
24472447
pScriptAction->m_parms[1] = newInstance(Parameter)(Parameter::BOOLEAN, 1);
2448-
break;
24492448
}
2449+
break;
24502450
}
24512451

24522452

GeneralsMD/Code/GameEngine/Source/GameLogic/ScriptEngine/Scripts.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2556,8 +2556,8 @@ ScriptAction *ScriptAction::ParseAction(DataChunkInput &file, DataChunkInfo *inf
25562556
pScriptAction->m_numParms = 2;
25572557
// Default it to TRUE, as per conversation with JohnL
25582558
pScriptAction->m_parms[1] = newInstance(Parameter)(Parameter::BOOLEAN, 1);
2559-
break;
25602559
}
2560+
break;
25612561
case CAMERA_MOD_SET_FINAL_ZOOM:
25622562
case CAMERA_MOD_SET_FINAL_PITCH:
25632563
if (pScriptAction->getNumParameters() == 1)

0 commit comments

Comments
 (0)