Core/Misc: Add default count param to HasItemCount

This commit is contained in:
Spp committed 2012-10-23 13:11:57 +02:00
1 parent 1ff5b83657
commit 663db1cee3
18 files changed
+51 -52

No files matched your search

+1 -1
View File
@@ -1778,7 +1778,7 @@ void Spell::EffectCreateItem2(SpellEffIndex effIndex)
{
if (item_id)
{
if (!player->HasItemCount(item_id, 1))
if (!player->HasItemCount(item_id))
return;
// remove reagent