Skip to content

Commit

Permalink
Merge branch 'rook-system' of https://github.com/jprzimba/crystalserver
Browse files Browse the repository at this point in the history
… into rook-system
  • Loading branch information
jprzimba committed Jan 2, 2025
2 parents e92b8fa + 4eb21e6 commit c2da6c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/creatures/players/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3773,9 +3773,9 @@ void Player::sendToRook() {
// Remove items from inventory
for (uint32_t slotId = CONST_SLOT_FIRST; slotId < CONST_SLOT_LAST; ++slotId) {
const auto &item = inventory[slotId];
if (item) {
g_game().internalRemoveItem(item);
}
if (item) {
g_game().internalRemoveItem(item);
}
}

sendSkills();
Expand Down

0 comments on commit c2da6c6

Please sign in to comment.