mirror of
https://github.com/nzp-team/glquake.git
synced 2024-11-10 06:31:35 +00:00
Rename Zombie Bodies to use % instead of #
This commit is contained in:
parent
1e93559078
commit
d6599e343a
1 changed files with 4 additions and 4 deletions
|
@ -824,7 +824,7 @@ void R_DrawAliasModel (entity_t *e)
|
||||||
//
|
//
|
||||||
// locate the proper data
|
// locate the proper data
|
||||||
//
|
//
|
||||||
if(doZHack && specChar == '#')
|
if(doZHack && specChar == '%')
|
||||||
{
|
{
|
||||||
if(clmodel->name[strlen(clmodel->name) - 6] == 'c')
|
if(clmodel->name[strlen(clmodel->name) - 6] == 'c')
|
||||||
paliashdr = (aliashdr_t *) Mod_Extradata(Mod_FindName("models/ai/zcfull.mdl"));
|
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)
|
switch(e->skinnum)
|
||||||
{
|
{
|
||||||
|
@ -927,7 +927,7 @@ void R_DrawAliasModel (entity_t *e)
|
||||||
|
|
||||||
glPopMatrix ();
|
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)
|
if(e->z_head)
|
||||||
R_DrawZombieLimb(e,1);
|
R_DrawZombieLimb(e,1);
|
||||||
|
@ -983,7 +983,7 @@ void R_DrawEntitiesOnList (void)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
doZHack = 0;
|
doZHack = 0;
|
||||||
if(specChar == '#')
|
if(specChar == '%')
|
||||||
{
|
{
|
||||||
if(zHackCount > 5 || ((currententity->z_head != 0) && (currententity->z_larm != 0) && (currententity->z_rarm != 0)))
|
if(zHackCount > 5 || ((currententity->z_head != 0) && (currententity->z_larm != 0) && (currententity->z_rarm != 0)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue