summaryrefslogtreecommitdiffstats
path: root/src/audio/oal/stream.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-04 23:31:31 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-04 23:31:31 +0100
commit32d3ea0a2dbd515bcf3b91772cd71aa6fda5e6bc (patch)
tree3ea26a3ee42c139a0d8f7835f1821a9a1b32ab3f /src/audio/oal/stream.cpp
parentfix to !PC_PLAYER_CONTROLS (diff)
downloadre3-32d3ea0a2dbd515bcf3b91772cd71aa6fda5e6bc.tar
re3-32d3ea0a2dbd515bcf3b91772cd71aa6fda5e6bc.tar.gz
re3-32d3ea0a2dbd515bcf3b91772cd71aa6fda5e6bc.tar.bz2
re3-32d3ea0a2dbd515bcf3b91772cd71aa6fda5e6bc.tar.lz
re3-32d3ea0a2dbd515bcf3b91772cd71aa6fda5e6bc.tar.xz
re3-32d3ea0a2dbd515bcf3b91772cd71aa6fda5e6bc.tar.zst
re3-32d3ea0a2dbd515bcf3b91772cd71aa6fda5e6bc.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 666e7320..f445da66 100644
--- a/src/audio/oal/stream.cpp
+++ b/src/audio/oal/stream.cpp
@@ -521,7 +521,7 @@ void CStream::Pause()
if ( !HasSource() ) return;
ALint sourceState = AL_PAUSED;
alGetSourcei(m_pAlSources[0], AL_SOURCE_STATE, &sourceState);
- if (sourceState != AL_PAUSED )
+ if (sourceState != AL_PAUSED)
alSourcePause(m_pAlSources[0]);
alGetSourcei(m_pAlSources[1], AL_SOURCE_STATE, &sourceState);
if (sourceState != AL_PAUSED)