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 Feb 20, 2024
1 parent 60be738 commit 963812f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/creatures/players/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2669,10 +2669,10 @@ BlockType_t Player::blockHit(std::shared_ptr<Creature> attacker, CombatType_t co
}

void Player::death(std::shared_ptr<Creature> lastHitCreature) {
if (!g_configManager().getBoolean(TOGGLE_MOUNT_IN_PZ, __FUNCTION__) && isMounted()) {
dismount();
g_game().internalCreatureChangeOutfit(getPlayer(), defaultOutfit);
}
if (!g_configManager().getBoolean(TOGGLE_MOUNT_IN_PZ, __FUNCTION__) && isMounted()) {
dismount();
g_game().internalCreatureChangeOutfit(getPlayer(), defaultOutfit);
}

loginPosition = town->getTemplePosition();

Expand Down

0 comments on commit 963812f

Please sign in to comment.