diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-25 08:49:42 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-08-25 08:49:42 +0300 |
commit | ee93e4bc7dae242fe89c81549f72992ed2c0951f (patch) | |
tree | 14d8146412177de4107839597dabb78f054f2751 /src/audio/AudioCollision.cpp | |
parent | 9ecca45bf356c001737d671739f8091c395b6fce (diff) |
Audio: refactoring, type fixes, renaming cAudioManager fields
Diffstat (limited to 'src/audio/AudioCollision.cpp')
-rw-r--r-- | src/audio/AudioCollision.cpp | 2 |
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; |