summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioCollision.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-25 07:49:58 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-25 07:49:58 +0200
commitc8492ab5e00d458f50d053e6b4e7c8c7af4d32a9 (patch)
tree4e070d777e5fa2d947ba94ba6b2cba8f1afc92d3 /src/audio/AudioCollision.cpp
parentAudio: fix PS2 ifdefs (diff)
downloadre3-c8492ab5e00d458f50d053e6b4e7c8c7af4d32a9.tar
re3-c8492ab5e00d458f50d053e6b4e7c8c7af4d32a9.tar.gz
re3-c8492ab5e00d458f50d053e6b4e7c8c7af4d32a9.tar.bz2
re3-c8492ab5e00d458f50d053e6b4e7c8c7af4d32a9.tar.lz
re3-c8492ab5e00d458f50d053e6b4e7c8c7af4d32a9.tar.xz
re3-c8492ab5e00d458f50d053e6b4e7c8c7af4d32a9.tar.zst
re3-c8492ab5e00d458f50d053e6b4e7c8c7af4d32a9.zip
Diffstat (limited to 'src/audio/AudioCollision.cpp')
-rw-r--r--src/audio/AudioCollision.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/AudioCollision.cpp b/src/audio/AudioCollision.cpp
index 147db001..4b37d83b 100644
--- a/src/audio/AudioCollision.cpp
+++ b/src/audio/AudioCollision.cpp
@@ -18,7 +18,7 @@ cAudioManager::ReportCollision(CEntity *entity1, CEntity *entity2, uint8 surface
CVector v1;
CVector v2;
- if(!m_bIsInitialised || m_nCollisionEntity < 0 || m_nUserPause ||
+ if(!m_bIsInitialised || m_nCollisionEntity < 0 || m_bIsPaused ||
(velocity < 0.0016f && collisionPower < 0.01f))
return;