Skip to content

Commit

Permalink
Code format - (Clang-format)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 22, 2024
1 parent cc360c6 commit 979ac0e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/creatures/players/player.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -689,8 +689,7 @@ class Player final : public Creature, public Cylinder, public Bankable {
auto it = stashItems.find(itemId);
if (it != stashItems.end()) {
stashItems[itemId] += amount;
setSaveStash(true)
return;
setSaveStash(true) return;
}

stashItems[itemId] = amount;
Expand All @@ -712,8 +711,7 @@ class Player final : public Creature, public Cylinder, public Bankable {
} else {
return false;
}
setSaveStash(true)
return true;
setSaveStash(true) return true;
}
return false;
}
Expand Down

0 comments on commit 979ac0e

Please sign in to comment.