summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorshfil <filip.gawin@zoho.com>2020-10-12 22:51:49 +0200
committerGitHub <noreply@github.com>2020-10-12 22:51:49 +0200
commit3b40e003abd2dbc7a783615ff168731b0c56584c (patch)
tree977446a2f9ebac2f8719c4377d79017c3208b28b /src
parentFix zone saving on 64 bit (diff)
downloadre3-3b40e003abd2dbc7a783615ff168731b0c56584c.tar
re3-3b40e003abd2dbc7a783615ff168731b0c56584c.tar.gz
re3-3b40e003abd2dbc7a783615ff168731b0c56584c.tar.bz2
re3-3b40e003abd2dbc7a783615ff168731b0c56584c.tar.lz
re3-3b40e003abd2dbc7a783615ff168731b0c56584c.tar.xz
re3-3b40e003abd2dbc7a783615ff168731b0c56584c.tar.zst
re3-3b40e003abd2dbc7a783615ff168731b0c56584c.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/Fire.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/Fire.cpp b/src/core/Fire.cpp
index 5b57cb73..a47ca3cf 100644
--- a/src/core/Fire.cpp
+++ b/src/core/Fire.cpp
@@ -406,8 +406,8 @@ CFireManager::ExtinguishPointWithWater(CVector point, float range)
CFire *fireToExtinguish = &m_aFires[fireI];
fireToExtinguish->m_fWaterExtinguishCountdown -= 0.012f * CTimer::GetTimeStep();
CVector steamPos = fireToExtinguish->m_vecPos +
- CVector((CGeneral::GetRandomNumber() - 128) * 31.f / 200.f,
- (CGeneral::GetRandomNumber() - 128) * 31.f / 200.f,
+ CVector((CGeneral::GetRandomNumber() - 128) * 3.1f / 200.f,
+ (CGeneral::GetRandomNumber() - 128) * 3.1f / 200.f,
CGeneral::GetRandomNumber() / 200.f);
CParticle::AddParticle(PARTICLE_STEAM_NY_SLOWMOTION, steamPos, CVector(0.f, 0.f, 0.2f), nil, 0.5f);