mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-12 11:03:02 +00:00
parent
c4af0c2374
commit
1eca138b21
2 changed files with 1 additions and 9 deletions
|
|
@ -301,7 +301,6 @@ extern struct quake
|
||||||
{
|
{
|
||||||
// camera offsets and duration
|
// camera offsets and duration
|
||||||
fixed_t x,y,z;
|
fixed_t x,y,z;
|
||||||
angle_t roll;
|
|
||||||
UINT16 time;
|
UINT16 time;
|
||||||
|
|
||||||
// location, radius, and intensity...
|
// location, radius, and intensity...
|
||||||
|
|
|
||||||
|
|
@ -657,17 +657,10 @@ void P_Ticker(boolean run)
|
||||||
quake.z = M_RandomRange(-ir,ir);
|
quake.z = M_RandomRange(-ir,ir);
|
||||||
if (cv_windowquake.value)
|
if (cv_windowquake.value)
|
||||||
I_CursedWindowMovement(FixedInt(quake.x), FixedInt(quake.y));
|
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;
|
--quake.time;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
quake.x = quake.y = quake.z = quake.roll = 0;
|
quake.x = quake.y = quake.z = 0;
|
||||||
|
|
||||||
if (metalplayback)
|
if (metalplayback)
|
||||||
G_ReadMetalTic(metalplayback);
|
G_ReadMetalTic(metalplayback);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue