2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-01-28 06:28:06 +03:00

Fix compiling

This commit is contained in:
Alibek Omarov 2018-06-13 12:21:55 +03:00
parent 0799c568f0
commit b13d85e0c8

View File

@ -2038,7 +2038,7 @@ void SV_SaveBoneState(client_t *_host_client, const edict_t *edict)
frame = &_host_client->frames[SV_UPDATE_MASK & (_host_client->netchan.outgoing_sequence)];
// not a studio model
if( g_psv.models[i]->type != mod_studio )
if( g_psv.models[edict->v.modelindex]->type != mod_studio )
{
frame->bonestate.valid = false;
return;