mirror of
https://github.com/rehlds/rehlds.git
synced 2025-07-05 08:59:34 +03:00
Fixed wrong constant name used for model_s::flags
This commit is contained in:
parent
83f53fb5c5
commit
af457716c4
@ -757,7 +757,7 @@ hull_t *SV_HullForStudioModel(const edict_t *pEdict, const vec_t *mins, const ve
|
|||||||
if (pEdict->v.gamestate == 1 && (g_eGameType == GT_TerrorStrike || g_eGameType == GT_CStrike || g_eGameType == GT_CZero))
|
if (pEdict->v.gamestate == 1 && (g_eGameType == GT_TerrorStrike || g_eGameType == GT_CStrike || g_eGameType == GT_CZero))
|
||||||
bSkipShield = 1;
|
bSkipShield = 1;
|
||||||
|
|
||||||
if ((g_psv.models[pEdict->v.modelindex]->flags & FL_ONGROUND) || useComplexHull == TRUE)
|
if ((g_psv.models[pEdict->v.modelindex]->flags & STUDIO_TRACE_HITBOX) || useComplexHull == TRUE)
|
||||||
{
|
{
|
||||||
VectorScale(size, factor, size);
|
VectorScale(size, factor, size);
|
||||||
offset[0] = 0;
|
offset[0] = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user