changed enti to ent

This commit is contained in:
LightPower392 2020-04-30 08:46:59 -07:00 committed by GitHub
parent 280333c5cf
commit 3fd4f5aa03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,9 +171,9 @@ struct bonelist_s
}
}
void _FASTCALL Draw(CachedEntity *enti, const rgba_t &color)
void _FASTCALL Draw(CachedEntity *ent, const rgba_t &color)
{
const model_t *model = RAW_ENT(enti)->GetModel();
const model_t *model = RAW_ENT(ent)->GetModel();
if (not model)
{
return;
@ -189,7 +189,7 @@ struct bonelist_s
return;
// ent->m_bBonesSetup = false;
const auto &bones = enti->hitboxes.GetBones();
const auto &bones = ent->hitboxes.GetBones();
DrawBoneList(bones, leg_r, 3, color);
DrawBoneList(bones, leg_l, 3, color);
DrawBoneList(bones, bottom, 3, color);