diff options
Diffstat (limited to 'src/game/ItemEnchantmentMgr.cpp')
-rw-r--r-- | src/game/ItemEnchantmentMgr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/ItemEnchantmentMgr.cpp b/src/game/ItemEnchantmentMgr.cpp index e1d6135d6b0..fd4fdd505e8 100644 --- a/src/game/ItemEnchantmentMgr.cpp +++ b/src/game/ItemEnchantmentMgr.cpp @@ -126,13 +126,13 @@ uint32 GenerateEnchSuffixFactor(uint32 item_id) { ItemPrototype const *itemProto = objmgr.GetItemPrototype(item_id); - if(!itemProto) + if (!itemProto) return 0; - if(!itemProto->RandomSuffix) + if (!itemProto->RandomSuffix) return 0; RandomPropertiesPointsEntry const *randomProperty = sRandomPropertiesPointsStore.LookupEntry(itemProto->ItemLevel); - if(!randomProperty) + if (!randomProperty) return 0; uint32 suffixFactor; |