From e9f54e95475d07149794539db8b7b215e9c855d4 Mon Sep 17 00:00:00 2001 From: Darryl Pogue Date: Sat, 6 Aug 2011 14:41:53 -0700 Subject: [PATCH] Don't use Windows-specific Sleep function. --- Sources/Plasma/PubUtilLib/plAudioCore/plSoundBuffer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Plasma/PubUtilLib/plAudioCore/plSoundBuffer.cpp b/Sources/Plasma/PubUtilLib/plAudioCore/plSoundBuffer.cpp index e6a3b3c2..157c8264 100644 --- a/Sources/Plasma/PubUtilLib/plAudioCore/plSoundBuffer.cpp +++ b/Sources/Plasma/PubUtilLib/plAudioCore/plSoundBuffer.cpp @@ -23,7 +23,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com Mead, WA 99021 *==LICENSE==*/ -#include + #include "hsTypes.h" #include "plSoundBuffer.h" @@ -166,7 +166,7 @@ plSoundBuffer::~plSoundBuffer() { while(!fLoaded) { - Sleep(10); + hsSleep::Sleep(10); } }