- vec3_t forward, stop, chase_dest, normal;
- float dist;
-
- chase_back.value = bound(0, chase_back.value, 128);
- chase_up.value = bound(-48, chase_up.value, 96);
-
- AngleVectors (cl.viewangles, forward, NULL, NULL);
+ vec_t camback, camup, dist, forward[3], stop[3], chase_dest[3], normal[3], projectangles[3];
+
+ camback = bound(0, chase_back.value, 128);
+ if (chase_back.value != camback)
+ Cvar_SetValueQuick(&chase_back, camback);
+ camup = bound(-48, chase_up.value, 96);
+ if (chase_up.value != camup)
+ Cvar_SetValueQuick(&chase_up, camup);
+
+ VectorCopy(cl.viewangles, projectangles);
+ if (gamemode == GAME_GOODVSBAD2 && chase_stevie.integer)
+ {
+ projectangles[0] = 90;
+ r_refdef.viewangles[0] = 90;
+ camback = 1024;
+ }
+ AngleVectors (projectangles, forward, NULL, NULL);