mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 19:37:04 +00:00
Use enum InventoryResult as return type for few functions.
This commit is contained in:
parent
23a861e4a6
commit
730a907252
18 changed files with 184 additions and 185 deletions
|
|
@ -1166,7 +1166,7 @@ void Item::BuildUpdateData(UpdateDataMapType& update_players)
|
|||
ClearUpdateMask(false);
|
||||
}
|
||||
|
||||
uint8 Item::CanBeMergedPartlyWith( ItemPrototype const* proto ) const
|
||||
InventoryResult Item::CanBeMergedPartlyWith( ItemPrototype const* proto ) const
|
||||
{
|
||||
// check item type
|
||||
if (GetEntry() != proto->ItemId)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue