diff options
Diffstat (limited to 'src/game/Creature.cpp')
-rw-r--r-- | src/game/Creature.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index e89ed26ce29..05f2c7e1ec6 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -2238,7 +2238,7 @@ uint32 Creature::UpdateVendorItemCurrentCount(VendorItem const* vItem, uint32 us if(itr == m_vendorItemCounts.end()) { - uint32 new_count = vItem->maxcount > used_count ? vItem->maxcount-used_count : 0; + int32 new_count = vItem->maxcount > used_count ? vItem->maxcount-used_count : 0; m_vendorItemCounts.push_back(VendorItemCount(vItem->item,new_count)); return new_count; } |