aboutsummaryrefslogtreecommitdiff
path: root/src/game/Item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Item.cpp')
-rw-r--r--src/game/Item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Item.cpp b/src/game/Item.cpp
index d00e4d535d3..0197de1d3ff 100644
--- a/src/game/Item.cpp
+++ b/src/game/Item.cpp
@@ -552,7 +552,7 @@ int32 Item::GenerateItemRandomPropertyId(uint32 item_id)
// RandomProperty case
if(itemProto->RandomProperty)
{
- uint32 randomPropId = GetItemEnchantMod(itemProto->RandomProperty);
+ int32 randomPropId = GetItemEnchantMod(itemProto->RandomProperty);
ItemRandomPropertiesEntry const *random_id = sItemRandomPropertiesStore.LookupEntry(randomPropId);
if(!random_id)
{