Make Overlay objects account for player->drawangle
- Sep 24, 2021
-
-
SMS Alfredo authored
-
- Aug 19, 2021
-
-
SMS Alfredo authored
-
Currently, Overlay objects always set their angle to their target's angle. But in the case of players, this is often never where they're actually facing, as that is handled by player->drawangle
instead.
This merge makes Overlays set their angle to mo->target->player->drawangle
instead of mo->target->angle
when mo->target
is a player. This is consistent with how A_CapeChase
handles it. In fact, it's even a copy/paste job from there.