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:
parent
c7e7a3ac86
commit
dc8ce67b73
1 changed files with 4 additions and 0 deletions
|
@ -2907,16 +2907,19 @@ void CL_LinkViewModel(void)
|
||||||
|
|
||||||
if (cl.stats[r_refdef.currentplayernum][STAT_ITEMS] & IT_QUAD)
|
if (cl.stats[r_refdef.currentplayernum][STAT_ITEMS] & IT_QUAD)
|
||||||
{
|
{
|
||||||
|
#ifdef Q3SHADERS
|
||||||
if (v_powerupshell.value == 2)
|
if (v_powerupshell.value == 2)
|
||||||
{
|
{
|
||||||
ent.forcedshader = R_RegisterCustom("powerups/quadWeapon", Shader_DefaultSkinShell);
|
ent.forcedshader = R_RegisterCustom("powerups/quadWeapon", Shader_DefaultSkinShell);
|
||||||
V_AddEntity(&ent);
|
V_AddEntity(&ent);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
ent.flags |= Q2RF_SHELL_BLUE;
|
ent.flags |= Q2RF_SHELL_BLUE;
|
||||||
}
|
}
|
||||||
if (cl.stats[r_refdef.currentplayernum][STAT_ITEMS] & IT_INVULNERABILITY)
|
if (cl.stats[r_refdef.currentplayernum][STAT_ITEMS] & IT_INVULNERABILITY)
|
||||||
{
|
{
|
||||||
|
#ifdef Q3SHADERS
|
||||||
if (v_powerupshell.value == 2)
|
if (v_powerupshell.value == 2)
|
||||||
{
|
{
|
||||||
ent.forcedshader = R_RegisterCustom("powerups/regen", Shader_DefaultSkinShell);
|
ent.forcedshader = R_RegisterCustom("powerups/regen", Shader_DefaultSkinShell);
|
||||||
|
@ -2924,6 +2927,7 @@ void CL_LinkViewModel(void)
|
||||||
V_AddEntity(&ent);
|
V_AddEntity(&ent);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
ent.flags |= Q2RF_SHELL_RED;
|
ent.flags |= Q2RF_SHELL_RED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue