Skip to content

Commit

Permalink
Remove unused param
Browse files Browse the repository at this point in the history
  • Loading branch information
ramon-bernardo committed Nov 5, 2024
1 parent f2454a6 commit c372370
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/creature.h
Original file line number Diff line number Diff line change
Expand Up @@ -282,11 +282,11 @@ class Creature : virtual public Thing
virtual void onWalk();
virtual bool getNextStep(Direction& dir, uint32_t& flags);

virtual void onAddTileItem(const Tile* tile, const Position& pos) {}
virtual void onUpdateTileItem(const Tile* tile, const Position& pos, const Item* oldItem, const ItemType& oldType,
const Item* newItem, const ItemType& newType)
virtual void onAddTileItem(const Tile*, const Position&) {}
virtual void onUpdateTileItem(const Tile*, const Position&, const Item*, const ItemType&, const Item*,
const ItemType&)
{}
virtual void onRemoveTileItem(const Tile* tile, const Position& pos, const ItemType& iType, const Item* item) {}
virtual void onRemoveTileItem(const Tile*, const Position&, const ItemType&, const Item*) {}

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

0 comments on commit c372370

Please sign in to comment.