This commit is contained in:
Alug committed 2023-11-22 08:27:16 +01:00
1 parent 1d40c26fd9
commit 429976faf8
1 file changed
+1 -1
+1 -1
View File
@@ -3266,7 +3266,7 @@ static angle_t K_GetSlopeRollAngle(player_t *p, boolean dontflip, boolean useRes
an = (lookAngle - xydirection);
final_slope = -(FixedMul(FINESINE(an>>ANGLETOFINESHIFT), zangle));
if (camspin)
if (camspin[pNum])
an = (INT32)(final_slope - p->tilt_sprite); // do a direct snap
else
an = (INT32)(final_slope - p->tilt_sprite) / 3; // instead of just a direct snap