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 Oct 30, 2024
1 parent e845e5a commit c933d16
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/creatures/players/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4722,7 +4722,6 @@ ItemsTierCountList Player::getInventoryItemsId(bool ignoreStoreInbox /* false */
return itemMap;
}


/*******************************************************************************
* Hazard system
******************************************************************************/
Expand Down Expand Up @@ -5228,7 +5227,6 @@ void Player::internalAddThing(uint32_t index, const std::shared_ptr<Thing> &thin
}
}


// safe-trade functions

void Player::setTradeState(TradeState_t state) {
Expand Down Expand Up @@ -8830,7 +8828,6 @@ void Player::triggerTranscendance() {
}
}


// Forge system
// Forge system

Expand Down
2 changes: 1 addition & 1 deletion src/utils/tools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2070,7 +2070,7 @@ void printStackTrace() {
}
}

const std::map<uint8_t, uint16_t> & getMaxValuePerSkill() {
const std::map<uint8_t, uint16_t> &getMaxValuePerSkill() {
static std::map<uint8_t, uint16_t> maxValuePerSkill = {
{ SKILL_LIFE_LEECH_CHANCE, 100 },
{ SKILL_MANA_LEECH_CHANCE, 100 },
Expand Down
2 changes: 1 addition & 1 deletion src/utils/tools.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,4 @@ bool caseInsensitiveCompare(std::string_view str1, std::string_view str2, size_t

void printStackTrace();

const std::map<uint8_t, uint16_t> & getMaxValuePerSkill();
const std::map<uint8_t, uint16_t> &getMaxValuePerSkill();

0 comments on commit c933d16

Please sign in to comment.