From: havoc Date: Sun, 14 Aug 2005 18:31:15 +0000 (+0000) Subject: renamed cl_deathtilt to v_deathtilt to match FTE, fuhquake and ezquake engines X-Git-Tag: xonotic-v0.1.0preview~4650 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=42ebab2050aaba88b4747a840b8db4c385627b0d;p=xonotic%2Fdarkplaces.git renamed cl_deathtilt to v_deathtilt to match FTE, fuhquake and ezquake engines git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5576 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/view.c b/view.c index c02459de..589f8f15 100644 --- a/view.c +++ b/view.c @@ -64,7 +64,7 @@ cvar_t chase_active = {CVAR_SAVE, "chase_active", "0"}; // 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; @@ -387,7 +387,7 @@ void V_CalcRefdef (void) { // 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); @@ -599,6 +599,6 @@ void V_Init (void) if (gamemode == GAME_GOODVSBAD2) Cvar_RegisterVariable (&chase_stevie); - Cvar_RegisterVariable (&cl_deathtilt.integer); + Cvar_RegisterVariable (&v_deathtilt.integer); }