mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-21 20:11:12 +00:00
Merge branch 'issue1062' into 'next'
Don't change drawangle while riding on a fan Closes #1062 See merge request STJr/SRB2!2371
This commit is contained in:
commit
3ef5d14e3a
1 changed files with 4 additions and 0 deletions
|
@ -12143,6 +12143,10 @@ void P_PlayerThink(player_t *player)
|
||||||
case CR_DUSTDEVIL:
|
case CR_DUSTDEVIL:
|
||||||
player->drawangle += ANG20;
|
player->drawangle += ANG20;
|
||||||
break;
|
break;
|
||||||
|
case CR_FAN:
|
||||||
|
if (player->pflags & PF_ANALOGMODE) // Don't impact drawangle in any special way when on a fan
|
||||||
|
player->drawangle = player->mo->angle;
|
||||||
|
break;
|
||||||
/* -- in case we wanted to have the camera freely movable during zoom tubes
|
/* -- in case we wanted to have the camera freely movable during zoom tubes
|
||||||
case CR_ZOOMTUBE:*/
|
case CR_ZOOMTUBE:*/
|
||||||
case CR_ROPEHANG:
|
case CR_ROPEHANG:
|
||||||
|
|
Loading…
Reference in a new issue