Fix incorrect check for viewpitch workaround.
This commit is contained in:
parent
be405824c2
commit
d71d5b665c
2 changed files with 3 additions and 3 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r769 \cu(Fri 3 Mar 20:23:17 CET 2023)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r769 \cu(2023-03-03 20:23:17)\c-";
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r770 \cu(Fri 3 Mar 20:50:50 CET 2023)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r770 \cu(2023-03-03 20:50:50)\c-";
|
||||
|
|
|
|||
|
|
@ -451,7 +451,7 @@ extend Class Demolitionist
|
|||
else temp *= .8;
|
||||
if ( ViewAngle != temp.x ) A_SetViewAngle(temp.x,SPF_INTERPOLATE);
|
||||
// IMPORTANT: don't call A_SetViewPitch if the player's min/max pitch are not yet initialized
|
||||
if ( (ViewPitch != temp.y) && (player.MinPitch == player.MaxPitch == pitch) ) A_SetViewPitch(temp.y,SPF_INTERPOLATE);
|
||||
if ( (ViewPitch != temp.y) && !(player.MinPitch == player.MaxPitch == pitch) ) A_SetViewPitch(temp.y,SPF_INTERPOLATE);
|
||||
if ( ViewRoll != temp.z ) A_SetViewRoll(temp.z,SPF_INTERPOLATE);
|
||||
if ( player.onground && !lastground ) landvelz = lastvelz;
|
||||
else if ( !player.onground && lastground ) landvelz = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue