Skip to content

Commit

Permalink
Removed unused parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
ramon-bernardo committed Nov 4, 2024
1 parent 5b8e67b commit e19167a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@ void Player::onUpdateTileItem(const Tile* tile, const Position& pos, const Item*
}
}

void Player::onRemoveTileItem(const Tile*, const Position& pos, const ItemType& iType, const Item* item)
void Player::onRemoveTileItem(const Tile*, const Position&, const ItemType&, const Item* item)
{
if (tradeState != TRADE_TRANSFER) {
checkTradeState(item);
Expand Down
2 changes: 1 addition & 1 deletion src/player.h
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ class Player final : public Creature, public Cylinder
// event methods
void onUpdateTileItem(const Tile* tile, const Position& pos, const Item* oldItem, const ItemType& oldType,
const Item* newItem, const ItemType&) override;
void onRemoveTileItem(const Tile*, const Position& pos, const ItemType& iType, const Item* item) override;
void onRemoveTileItem(const Tile*, const Position&, const ItemType&, const Item* item) override;

void onCreatureAppear(Creature* creature, bool isLogin) override;
void onRemoveCreature(Creature* creature, bool isLogout) override;
Expand Down

0 comments on commit e19167a

Please sign in to comment.