mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 09:33:51 +00:00
refactor: extract updateAutoAttack() from update()
Move 98 lines of auto-attack leash range, melee resync, facing alignment, and hostile attacker orientation into a dedicated method. update() is now ~180 lines (74% reduction from original 704).
This commit is contained in:
parent
3215832fed
commit
b1a87114ad
2 changed files with 103 additions and 98 deletions
|
|
@ -2318,6 +2318,7 @@ public:
|
|||
void updateTimers(float deltaTime);
|
||||
void updateEntityInterpolation(float deltaTime);
|
||||
void updateTaxiAndMountState(float deltaTime);
|
||||
void updateAutoAttack(float deltaTime);
|
||||
|
||||
/**
|
||||
* Reset DBC-backed caches so they reload from new expansion data.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue