Merge pull request #656 from erorcun/miami

Peds, Hud, CFO 1/2, fixes - including zone names
This commit is contained in:
erorcun
2020-07-22 18:21:39 +03:00
committed by GitHub
30 changed files with 1467 additions and 818 deletions

View File

@ -2523,7 +2523,7 @@ CAutomobile::PreRender(void)
if(GetModelIndex() == MI_RCGOBLIN || GetModelIndex() == MI_RCRAIDER)
radius = 3.0f;
if(GetPosition().z - groundZ < radius)
HeliDustGenerate(this, radius-(GetPosition().z - groundZ), groundZ, ceilf(rnd));
HeliDustGenerate(this, radius-(GetPosition().z - groundZ), groundZ, Ceil(rnd));
}
CMatrix mat;