mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-03 20:03:50 +00:00
Both the health==0 and dynFlags UNIT_DYNFLAG_DEAD paths duplicated the same corpse-position caching and death-state logic with a subtle asymmetry (only health path called stopAutoAttack). Extracted into markPlayerDead() so coordinate swapping and state changes happen in one place. stopAutoAttack remains at the health==0 call site since the dynFlags path doesn't need it. |
||
|---|---|---|
| .. | ||
| addons | ||
| audio | ||
| auth | ||
| core | ||
| game | ||
| network | ||
| pipeline | ||
| platform | ||
| rendering | ||
| third_party | ||
| ui | ||