// GAME_GOODVSBAD2
cvar_t chase_stevie = {0, "chase_stevie", "0"};
-cvar_t cl_deathtilt = {0, "cl_deathtilt", "1"};
+cvar_t v_deathtilt = {0, "v_deathtilt", "1"};
float v_dmg_time, v_dmg_roll, v_dmg_pitch;
{
// first person view from entity
// angles
- if (cl.stats[STAT_HEALTH] <= 0 && cl_deathtilt.integer)
+ if (cl.stats[STAT_HEALTH] <= 0 && v_deathtilt.integer)
viewangles[ROLL] = 80; // dead view angle
VectorAdd(viewangles, cl.punchangle, viewangles);
viewangles[ROLL] += V_CalcRoll(cl.viewangles, cl.movement_velocity);
if (gamemode == GAME_GOODVSBAD2)
Cvar_RegisterVariable (&chase_stevie);
- Cvar_RegisterVariable (&cl_deathtilt.integer);
+ Cvar_RegisterVariable (&v_deathtilt.integer);
}