friggin the riggin

This commit is contained in:
Nikolay Korolev
2021-07-25 11:58:03 +03:00
parent dc729009ac
commit b69222e017
4 changed files with 20 additions and 2 deletions

View File

@ -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);
}
}
}