mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-28 06:28:06 +03:00
Fix compiling
This commit is contained in:
parent
0799c568f0
commit
b13d85e0c8
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user