From b69222e017560efb8abcff899a328e2879d271c7 Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Sun, 25 Jul 2021 11:58:03 +0300 Subject: friggin the riggin --- src/weapons/ShotInfo.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/weapons/ShotInfo.cpp') diff --git a/src/weapons/ShotInfo.cpp b/src/weapons/ShotInfo.cpp index 788bcbe1..b98eaf7a 100644 --- a/src/weapons/ShotInfo.cpp +++ b/src/weapons/ShotInfo.cpp @@ -143,7 +143,9 @@ CShotInfo::Update() } } } - if (!((CTimer::GetFrameCounter() + slot) & 3)) - CWorld::SetCarsOnFire(shot.m_startPos.x, shot.m_startPos.y, shot.m_startPos.z, 4.0f, shot.m_sourceEntity); + if (!((CTimer::GetFrameCounter() + slot) & 3)) { + CWorld::SetCarsOnFire(shot.m_startPos.x, shot.m_startPos.y, shot.m_startPos.z, 2.0f, shot.m_sourceEntity); + CWorld::CheckObjectsEffectedByFire(shot.m_startPos.x, shot.m_startPos.y, shot.m_startPos.z, 2.0f, shot.m_sourceEntity); + } } } -- cgit v1.2.3