Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit dbde28b

Browse files
committed
Minor fixes to SetTopLevelSoundSet
1 parent 970a70f commit dbde28b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Entities/SoundContainer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ namespace RTE {
9292
/// Copies the passed in SoundSet reference into the top level SoundSet of this SoundContainer, effectively making that the new top level SoundSet.
9393
/// </summary>
9494
/// <param name="newTopLevelSoundSet">A reference to the new top level SoundSet for this SoundContainer.</param>
95-
void SetTopLevelSoundSet(SoundSet &newTopLevelSoundSet) { m_TopLevelSoundSet = newTopLevelSoundSet; }
95+
void SetTopLevelSoundSet(const SoundSet &newTopLevelSoundSet) { m_TopLevelSoundSet = newTopLevelSoundSet; m_SoundPropertiesUpToDate = false; }
9696

9797
/// <summary>
9898
/// Gets a vector of hashes of the sounds selected to be played next in this SoundContainer.

0 commit comments

Comments
 (0)