diff --git a/src/doomstat.h b/src/doomstat.h index 522108913..159f83172 100644 --- a/src/doomstat.h +++ b/src/doomstat.h @@ -301,7 +301,6 @@ extern struct quake { // camera offsets and duration fixed_t x,y,z; - angle_t roll; UINT16 time; // location, radius, and intensity... diff --git a/src/p_tick.c b/src/p_tick.c index ca02b1513..b79a1fa29 100644 --- a/src/p_tick.c +++ b/src/p_tick.c @@ -657,17 +657,10 @@ void P_Ticker(boolean run) quake.z = M_RandomRange(-ir,ir); if (cv_windowquake.value) I_CursedWindowMovement(FixedInt(quake.x), FixedInt(quake.y)); - ir >>= 2; - ir = M_RandomRange(-ir,ir); - if (ir < 0) - ir = ANGLE_MAX - FixedAngle(-ir); - else - ir = FixedAngle(ir); - quake.roll = ir; --quake.time; } else - quake.x = quake.y = quake.z = quake.roll = 0; + quake.x = quake.y = quake.z = 0; if (metalplayback) G_ReadMetalTic(metalplayback);