Skip to content

Commit

Permalink
Update player.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Luan Luciano committed Mar 31, 2024
1 parent 0399c23 commit 4a389e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/creatures/players/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4935,7 +4935,7 @@ void Player::addOutfit(uint16_t lookType, uint8_t addons) {
return;
}
}
outfits.insert(std::pair(lookType, addons));
outfits.emplace(lookType, addons);
}

bool Player::removeOutfit(uint16_t lookType) {
Expand Down Expand Up @@ -5844,7 +5844,7 @@ bool Player::tameMount(uint16_t mountId) {
return false;
}

mounts.insert(mountId);
mounts.emplace(mountId);
return true;
}

Expand Down

0 comments on commit 4a389e5

Please sign in to comment.