Skip to content

Commit

Permalink
feat(mechanics): Variants can now add licenses on top of a base model…
Browse files Browse the repository at this point in the history
… using a licenses node in "add attributes" (endless-sky#9682)
  • Loading branch information
UnorderedSigh authored Jan 20, 2024
1 parent 460e3c4 commit 9d8dfc4
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 9d8dfc4

Please sign in to comment.