summaryrefslogtreecommitdiffstats
path: root/src/render/Particle.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-16 04:06:51 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-16 04:06:51 +0200
commitec1b91e5270b1c91885a5e8000a5ff8286aee140 (patch)
tree1ff508fda73ba0a3bc5514ab803fc3cd9e25f4b7 /src/render/Particle.cpp
parentfixed hanging boot (diff)
downloadre3-ec1b91e5270b1c91885a5e8000a5ff8286aee140.tar
re3-ec1b91e5270b1c91885a5e8000a5ff8286aee140.tar.gz
re3-ec1b91e5270b1c91885a5e8000a5ff8286aee140.tar.bz2
re3-ec1b91e5270b1c91885a5e8000a5ff8286aee140.tar.lz
re3-ec1b91e5270b1c91885a5e8000a5ff8286aee140.tar.xz
re3-ec1b91e5270b1c91885a5e8000a5ff8286aee140.tar.zst
re3-ec1b91e5270b1c91885a5e8000a5ff8286aee140.zip
Diffstat (limited to 'src/render/Particle.cpp')
-rw-r--r--src/render/Particle.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/render/Particle.cpp b/src/render/Particle.cpp
index 4223ac10..a867ae13 100644
--- a/src/render/Particle.cpp
+++ b/src/render/Particle.cpp
@@ -11,6 +11,7 @@
#include "AudioScriptObject.h"
#include "ParticleObject.h"
#include "Particle.h"
+#include "soundlist.h"
#define MAX_PARTICLES_ON_SCREEN (1000)
@@ -1268,7 +1269,7 @@ void CParticle::Update()
nil,
particle->m_fSize, color, particle->m_nRotationStep, 0, 0, 0);
- PlayOneShotScriptObject(_SCRSOUND_BULLET_SHELL_HIT_GROUND_1, particle->m_vecPosition);
+ PlayOneShotScriptObject(SCRIPT_SOUND_GUNSHELL_DROP, particle->m_vecPosition);
}
break;
@@ -1287,7 +1288,7 @@ void CParticle::Update()
nil,
particle->m_fSize, color, 0, 0, 0, 0);
- PlayOneShotScriptObject(_SCRSOUND_BULLET_SHELL_HIT_GROUND_2, particle->m_vecPosition);
+ PlayOneShotScriptObject(SCRIPT_SOUND_GUNSHELL_DROP_SOFT, particle->m_vecPosition);
}
break;