-
Notifications
You must be signed in to change notification settings - Fork 545
Commit
…w formation Formation entry was reused among same spawns leading to cross map usage in different instances of same map.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,7 +102,7 @@ struct SpawnGroupEntry | |
std::vector<uint32> LinkedGroups; | ||
|
||
// may be nullptr | ||
FormationEntrySPtr formationEntry; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
killerwife
Author
Contributor
|
||
std::unique_ptr<FormationEntry> FormationEntry; | ||
|
||
int32 GetFormationSlotId(uint32 dbGuid) const | ||
{ | ||
|
1 comment
on commit cf9593d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After this commit Linux build fail at: mangos-tbc/src/game/Maps/SpawnGroupDefines.h:105:37: error: declaration of 'std::unique_ptr SpawnGroupEntry::FormationEntry' changes meaning of 'FormationEntry'
is there a reason why the normal
m_FormationEntry
naming convention was not used here? Seemingly in the entire struct