Skip to content

Commit

Permalink
SOUND: Assign the correct cue sound name in ASCII XACT SoundBanks
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Jan 6, 2019
1 parent 9e688f1 commit de75868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sound/xactsoundbank_ascii.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ void XACTSoundBank_ASCII::load(Common::SeekableReadStream &xsb) {
tokenizer.getTokens(xsb, tokens, 4);
tokenizer.nextChunk(xsb);

variation.soundName = tokens[1];
variation.soundName = tokens[0];
variation.soundIndex = getNumber(tokens[1]);

if (cue->variationSelectMethod == kSelectMethodParameter) {
Expand Down

0 comments on commit de75868

Please sign in to comment.