Skip to content
Snippets Groups Projects

Make Overlay objects account for player->drawangle

Merged 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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading