summaryrefslogtreecommitdiff
path: root/src/audio/AudioCollision.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-25 08:49:42 +0300
committerSergeanur <s.anureev@yandex.ua>2021-08-25 08:49:42 +0300
commitee93e4bc7dae242fe89c81549f72992ed2c0951f (patch)
tree14d8146412177de4107839597dabb78f054f2751 /src/audio/AudioCollision.cpp
parent9ecca45bf356c001737d671739f8091c395b6fce (diff)
Audio: refactoring, type fixes, renaming cAudioManager fields
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 5af762f9..1527fac4 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;