Use correct index for complete Zombie Crawler mesh

This commit is contained in:
cypress 2023-11-29 13:46:24 -05:00 committed by GitHub
parent f0ced89573
commit 7976734bd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1971,7 +1971,7 @@ void R_DrawAliasModel (entity_t *e)
//
if(doZHack && specChar == '%')
{
if(clmodel->name[strlen(clmodel->name) - 6] == 'c')
if(clmodel->name[12] == 'c')
paliashdr = (aliashdr_t *) Mod_Extradata(Mod_FindName("models/ai/zcfull.mdl"));
else
paliashdr = (aliashdr_t *) Mod_Extradata(Mod_FindName("models/ai/zfull.mdl"));