Browse Source

Fix compressed sound resourceref not being serialized.

Lasse Öörni 11 years ago
parent
commit
a7f9747376
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Source/Engine/Audio/SoundSource.cpp

+ 1 - 0
Source/Engine/Audio/SoundSource.cpp

@@ -484,6 +484,7 @@ void SoundSource::PlayLockless(Sound* sound)
         {
         {
             // Compressed sound start
             // Compressed sound start
             PlayLockless(sound->GetDecoderStream());
             PlayLockless(sound->GetDecoderStream());
+            sound_ = sound;
             return;
             return;
         }
         }
     }
     }