Skip to content
Snippets Groups Projects

Don't Copy mobj->dontdrawforviewmobj To MT_OVERLAYs

Merged Zwip-Zwap Zapony requested to merge Zwip-Zwap_Zapony/SRB2:dodrawforviewmobj into next

!2014 (merged) introduced mobj->drawonlyforplayer and mobj->dontdrawforviewmobj variables, to control per-player object visibility.

This merge request simply makes it so that MT_OVERLAY mobjs don't copy their target's dontdrawforviewmobj value every tic (or at all), making it easier to have an overlay with a different dontdrawforviewmobj value if desired.
Reasoning: I just didn't like it. But, equally importantly, MT_OVERLAYs already don't copy their target's drawonlyforplayer (because Tailsbot's flight indicator needs a different drawonlyforplayer value than Tailsbot themselves) - and then, why copy "only one" of these variables, instead of both (not an option) or neither?

-

TL;DR: MT_OVERLAYs no longer copy their target's dontdrawforviewmobj value

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
Please register or sign in to reply
Loading