Rename Zombie Bodies to use % instead of #

This commit is contained in:
Steam Deck User 2023-01-16 20:13:44 -05:00
parent fddb0859dc
commit 2fa179a206
2 changed files with 5 additions and 5 deletions

View file

@ -824,8 +824,8 @@ void Preload (void)
Mod_ForName ("models/player.mdl", true);
// Body
Mod_ForName("models/ai/zb#.mdl", true);
Mod_ForName("models/ai/zbc#.mdl", true);
Mod_ForName("models/ai/zb%.mdl", true);
Mod_ForName("models/ai/zbc%.mdl", true);
// Full Model
Mod_ForName ("models/ai/zfull.mdl",true);

View file

@ -2278,7 +2278,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"));
@ -2393,7 +2393,7 @@ void R_DrawAliasModel (entity_t *e)
sceGumPopMatrix();
sceGumUpdateMatrix();
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);
@ -3659,7 +3659,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)))
{