Skip to content

Commit

Permalink
Revert "feat(mechanics): Variants can now add licenses on top of a ba…
Browse files Browse the repository at this point in the history
…se model using a licenses node in "add attributes" (endless-sky#9682)"

This reverts commit 9d8dfc4.
  • Loading branch information
warp-core committed Jan 25, 2024
1 parent 9dab2a6 commit 1cc5932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Outfit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ void Outfit::Add(const Outfit &other, int count)
if(fabs(attributes[at.first]) < EPS)
attributes[at.first] = 0.;
}
licenses.insert(licenses.end(), other.licenses.begin(), other.licenses.end());

for(const auto &it : other.flareSprites)
AddFlareSprites(flareSprites, it, count);
for(const auto &it : other.reverseFlareSprites)
Expand Down

0 comments on commit 1cc5932

Please sign in to comment.