Rename Zombie Bodies to use % instead of #

This commit is contained in:
Steam Deck User 2023-01-16 20:16:56 -05:00
parent 1e93559078
commit d6599e343a
1 changed files with 4 additions and 4 deletions

View File

@ -824,7 +824,7 @@ void R_DrawAliasModel (entity_t *e)
//
// locate the proper data
//
if(doZHack && specChar == '#')
if(doZHack && specChar == '%')
{
if(clmodel->name[strlen(clmodel->name) - 6] == 'c')
paliashdr = (aliashdr_t *) Mod_Extradata(Mod_FindName("models/ai/zcfull.mdl"));
@ -871,7 +871,7 @@ void R_DrawAliasModel (entity_t *e)
}
if (specChar == '#')//Zombie body
if (specChar == '%')//Zombie body
{
switch(e->skinnum)
{
@ -927,7 +927,7 @@ void R_DrawAliasModel (entity_t *e)
glPopMatrix ();
if (doZHack == 0 && specChar == '#')//if we're drawing zombie, also draw its limbs in one call
if (doZHack == 0 && specChar == '%')//if we're drawing zombie, also draw its limbs in one call
{
if(e->z_head)
R_DrawZombieLimb(e,1);
@ -983,7 +983,7 @@ void R_DrawEntitiesOnList (void)
continue;
}
doZHack = 0;
if(specChar == '#')
if(specChar == '%')
{
if(zHackCount > 5 || ((currententity->z_head != 0) && (currententity->z_larm != 0) && (currententity->z_rarm != 0)))
{