mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-12-14 01:10:08 +00:00
Buddy rework, adjustments, and fixes
I cleaned up the code a bit (I'll clean it up more as I make more progress) and fixed a bug with buddy slots. Now buddies aren't overwritten! A few reworks and adjustments I reworked the buddyIDs array to store only player UIDs instead of IDs. I also reworked buddy deleting so that it deletes buddies from the array. Code cleanup Cleaned up some of the code. I mainly just removed useless helper methods.
This commit is contained in:
@@ -70,4 +70,7 @@ struct Player {
|
||||
int32_t iGroupConditionBitFlag;
|
||||
|
||||
bool notify;
|
||||
|
||||
int buddyCnt;
|
||||
int64_t buddyIDs[50];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user