Use correct index for complete Zombie Crawler mesh

This commit is contained in:
cypress 2023-11-29 13:46:28 -05:00 committed by GitHub
parent 9b9c690c15
commit 758b4e64ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -967,7 +967,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"));