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
commit b182fa4bb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;