mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-12 19:18:20 +00:00
Fix typo
This commit is contained in:
parent
e8e6b71db4
commit
be2bed2fe2
|
@ -166,7 +166,7 @@ void CGameContext::CreateExplosion(vec2 Pos, int Owner, int Weapon, bool NoDamag
|
||||||
ForceDir = normalize(Diff);
|
ForceDir = normalize(Diff);
|
||||||
l = 1-clamp((l-InnerRadius)/(Radius-InnerRadius), 0.0f, 1.0f);
|
l = 1-clamp((l-InnerRadius)/(Radius-InnerRadius), 0.0f, 1.0f);
|
||||||
float Strength;
|
float Strength;
|
||||||
if (Owner == -1 || !m_apPlayers[Owner] || !!m_apPlayers[Owner]->m_TuneZone)
|
if (Owner == -1 || !m_apPlayers[Owner] || !m_apPlayers[Owner]->m_TuneZone)
|
||||||
Strength = Tuning()->m_ExplosionStrength;
|
Strength = Tuning()->m_ExplosionStrength;
|
||||||
else
|
else
|
||||||
Strength = TuningList()[m_apPlayers[Owner]->m_TuneZone].m_ExplosionStrength;
|
Strength = TuningList()[m_apPlayers[Owner]->m_TuneZone].m_ExplosionStrength;
|
||||||
|
|
Loading…
Reference in a new issue