diff options
Diffstat (limited to 'src/game/Item.cpp')
-rw-r--r-- | src/game/Item.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Item.cpp b/src/game/Item.cpp index 30023f511ab..9927a936bc1 100644 --- a/src/game/Item.cpp +++ b/src/game/Item.cpp @@ -554,7 +554,7 @@ int32 Item::GenerateItemRandomPropertyId(uint32 item_id) // RandomProperty case if (itemProto->RandomProperty) { - int32 randomPropId = GetItemEnchantMod(itemProto->RandomProperty); + uint32 randomPropId = GetItemEnchantMod(itemProto->RandomProperty); ItemRandomPropertiesEntry const *random_id = sItemRandomPropertiesStore.LookupEntry(randomPropId); if (!random_id) { |