[client] Move cshift info from viddef to viewstate

It makes much more sense for cshift state to be in viewstate because it
is very much an effect rather than anything specific to a renderer.
This commit is contained in:
Bill Currie 2022-02-28 16:55:12 +09:00
parent 7d059a0b56
commit 2477a44d15
5 changed files with 12 additions and 12 deletions

View file

@ -61,6 +61,8 @@ typedef struct viewstate_s {
int powerup_index;
cshift_t cshifts[NUM_CSHIFTS]; // Color shifts for damage, powerups
cshift_t prev_cshifts[NUM_CSHIFTS]; // and content types
quat_t cshift_color;
qboolean cshift_changed;
// pitch drifting vars
float idealpitch;