forked from electronicarts/CnC_Generals_Zero_Hour
-
Notifications
You must be signed in to change notification settings - Fork 161
Open
Labels
AudioIs audio relatedIs audio relatedBugSomething is not working right, typically is user facingSomething is not working right, typically is user facingMajorSeverity: Minor < Major < Critical < BlockerSeverity: Minor < Major < Critical < BlockerScriptIs related to Script Engine, SCBIs related to Script Engine, SCBThisProjectThe issue was introduced by this project, or this task is specific to this projectThe issue was introduced by this project, or this task is specific to this project
Description
*** IF ***
Sound 'AirRaidSiren' has completed playing.
*** THEN ***
Show 'Victorious' window and end game
The above script only works correctly if the implementation for AudioManager::getFileLengthMS returns the right value. Our dummy implementation AudioManagerDummy doesn't do that. Some custom maps with scripts like the above can mismatch in headless mode because of this.
Reproduction:
- Use this map, it contains the above script: audio_manager_test.zip
- Start a skirmish / multiplayer game, no interaction required.
- Save the replay.
- Check the replay inside the game. It should not mismatch.
- Check the replay with headless mode, it should mismatch.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
AudioIs audio relatedIs audio relatedBugSomething is not working right, typically is user facingSomething is not working right, typically is user facingMajorSeverity: Minor < Major < Critical < BlockerSeverity: Minor < Major < Critical < BlockerScriptIs related to Script Engine, SCBIs related to Script Engine, SCBThisProjectThe issue was introduced by this project, or this task is specific to this projectThe issue was introduced by this project, or this task is specific to this project