Skip to content

Make Overlay objects account for player->drawangle

SMS Alfredo requested to merge SMS_Alfredo/SRB2:drawntooverlay into next

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.

Merge request reports