@@ -62,7 +62,7 @@ namespace :build do
sh "cmake ../../ -G \"Visual Studio 14 2015\""
# specify 32 bit
- sh "msbuild /m Atomic.sln /property:Configuration=Release /p:PlatformTarget=x86"
+ sh "msbuild /m Atomic.sln /p:Configuration=Release /p:Platform=x86"
end
@@ -1245,4 +1245,9 @@ void SoundSource::MixNull(float timeStep)
}
+void SoundSource::SetSound(Sound* sound)
+{
+ if (sound) SetSoundAttr(GetResourceRef(sound, ""));
+}
+
@@ -78,7 +78,7 @@ public:
// BEGIN ATOMIC
/// Return sound.
- void SetSound(Sound* sound) { if (sound) SetSoundAttr(GetResourceRef(sound, "")); }
+ void SetSound(Sound* sound);
// END ATOMIC