warning fixes
This commit is contained in:
1 parent
2b3477fab5
commit
4c28aaebd6
2 files changed
+2
-2
No files matched your search
@@ -1033,7 +1033,7 @@ bool CanRollOnItem(const LootItem& item, Player const* player)
|
||||
return false;
|
||||
|
||||
uint32 itemCount = player->GetItemCount(item.itemid);
|
||||
if (proto->GetMaxCount() > 0 && static_cast<int32>(itemCount) >= proto->GetMaxCount())
|
||||
if (proto->GetMaxCount() > 0 && itemCount >= proto->GetMaxCount())
|
||||
return false;
|
||||
|
||||
if (!item.AllowedForPlayer(player))
|
||||
|
||||
Reference in new issue
Block a user