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 Dec 28, 2024
1 parent ed5a81e commit ed1e4e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion SPID/include/PCLevelMultManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ namespace PCLevelMult
void SetNewGameStarted();

private:

enum class LEVEL_CAP_STATE
{
kNotHit = 0,
Expand Down
10 changes: 5 additions & 5 deletions SPID/src/OutfitManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ namespace Outfits
#ifndef NDEBUG
logger::info("{:*^30}", "SAVING");
#endif
auto manager = Manager::GetSingleton();
auto manager = Manager::GetSingleton();
ReadLocker lock(manager->_lock);
const auto& replacements = manager->replacements;
#ifndef NDEBUG
Expand Down Expand Up @@ -370,12 +370,12 @@ namespace Outfits
#ifndef NDEBUG
logger::info("\tFound existing replacement {}", existing->second);
#endif
// If we have an existing replacement and actor is already dead,
// If we have an existing replacement and actor is already dead,
// then we don't want to set new outfit to avoid sudden changes that player might not expect.
// But only if the outfit was already given to them.
// But only if the outfit was already given to them.
// This will allow to apply initial outfit to the dead actor in case new mod was added or something.
//
// TODO: Consider tracking looting state of the outfit?
//
// TODO: Consider tracking looting state of the outfit?
// e.g. if an actor still wears all parts of the outfit, then allow to change it.
// This might be unexpected, since dead NPCs are supposed to have their outfit locked.
if (actor->IsDead()) {
Expand Down

0 comments on commit ed1e4e8

Please sign in to comment.