summaryrefslogtreecommitdiffstats
path: root/src/audio/oal/stream.cpp
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-07-11 03:26:59 +0200
committerwithmorten <morten.with@gmail.com>2021-07-11 03:26:59 +0200
commit58de524d70beff5d917bc9eaf72a0f8d3e18840d (patch)
tree4dda8f8d23b85686baaf166e9b76ae3cf75df893 /src/audio/oal/stream.cpp
parentfix hotring flap stat line (diff)
downloadre3-58de524d70beff5d917bc9eaf72a0f8d3e18840d.tar
re3-58de524d70beff5d917bc9eaf72a0f8d3e18840d.tar.gz
re3-58de524d70beff5d917bc9eaf72a0f8d3e18840d.tar.bz2
re3-58de524d70beff5d917bc9eaf72a0f8d3e18840d.tar.lz
re3-58de524d70beff5d917bc9eaf72a0f8d3e18840d.tar.xz
re3-58de524d70beff5d917bc9eaf72a0f8d3e18840d.tar.zst
re3-58de524d70beff5d917bc9eaf72a0f8d3e18840d.zip
Diffstat (limited to 'src/audio/oal/stream.cpp')
-rw-r--r--src/audio/oal/stream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/oal/stream.cpp b/src/audio/oal/stream.cpp
index 7fc36acd..3789573e 100644
--- a/src/audio/oal/stream.cpp
+++ b/src/audio/oal/stream.cpp
@@ -1648,7 +1648,7 @@ void CStream::SetPlay(bool state)
{
ALint sourceState = AL_STOPPED;
alGetSourcei(m_pAlSources[0], AL_SOURCE_STATE, &sourceState);
- if (sourceState != AL_STOPPED )
+ if (sourceState != AL_STOPPED)
alSourceStop(m_pAlSources[0]);
sourceState = AL_STOPPED;