forked from liyunfan1223/mod-playerbots
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix various formations - Issue liyunfan1223#749 (liyunfan1223#807)
* Fix various formations * Refactor Formation::GetFollowAngle() * Update Formations.cpp * Refactored Formation::GetFollowAngle() Final refactor of Formation::GetFollowAngle() - By combining the group member iteration, unnecessary loops are avoided. - Clearer Structure: The code is more readable, with fewer redundant operations. - Better Maintainability: Comments and logical grouping make it easier to modify or extend the function in the future. * Logic order improvement
- Loading branch information
Showing
1 changed file
with
55 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters