Skip to content

Commit

Permalink
maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
adya authored and github-actions[bot] committed Jul 19, 2024
1 parent 042789c commit 8ff681c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SPID/include/OutfitManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Outfits
/// <summary>
/// Checks whether the actor can technically wear a given outfit.
/// Actor can wear an outfit when all of its components are compatible with actor's race.
///
///
/// This method doesn't validate any other logic.
/// </summary>
/// <param name="Actor">Target Actor to be tested</param>
Expand Down
2 changes: 1 addition & 1 deletion SPID/src/OutfitManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ namespace Outfits
auto defaultOutfit = npc->defaultOutfit;

if (!allowOverwrites && replacements.find(actor->formID) != replacements.end()) {
return true; // return true to indicate that some outfit was already set for this actor, and with overwrite disabled we won't be able to set any outfit.
return true; // return true to indicate that some outfit was already set for this actor, and with overwrite disabled we won't be able to set any outfit.
}

if (!CanEquipOutfit(actor, outfit)) {
Expand Down

0 comments on commit 8ff681c

Please sign in to comment.