1
0
Fork 0
forked from fte/fteqw

why does bigfoot use sw rendering?

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1693 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-12-09 23:30:50 +00:00
parent c7e7a3ac86
commit dc8ce67b73

View file

@ -2907,16 +2907,19 @@ void CL_LinkViewModel(void)
if (cl.stats[r_refdef.currentplayernum][STAT_ITEMS] & IT_QUAD)
{
#ifdef Q3SHADERS
if (v_powerupshell.value == 2)
{
ent.forcedshader = R_RegisterCustom("powerups/quadWeapon", Shader_DefaultSkinShell);
V_AddEntity(&ent);
}
else
#endif
ent.flags |= Q2RF_SHELL_BLUE;
}
if (cl.stats[r_refdef.currentplayernum][STAT_ITEMS] & IT_INVULNERABILITY)
{
#ifdef Q3SHADERS
if (v_powerupshell.value == 2)
{
ent.forcedshader = R_RegisterCustom("powerups/regen", Shader_DefaultSkinShell);
@ -2924,6 +2927,7 @@ void CL_LinkViewModel(void)
V_AddEntity(&ent);
}
else
#endif
ent.flags |= Q2RF_SHELL_RED;
}