1
0

Added Book Enchanting

This commit is contained in:
daniel0916
2014-04-15 21:43:52 +02:00
parent e81fc2779e
commit 36f747d674
2 changed files with 311 additions and 2 deletions

View File

@@ -800,7 +800,7 @@ void cSlotAreaEnchanting::UpdateResult(cPlayer & a_Player)
m_ParentWindow.SetProperty(1, 0, a_Player);
m_ParentWindow.SetProperty(2, 0, a_Player);
}
else if (cItem::IsEnchantable(Item.m_ItemType) && Item.m_Enchantments.IsEmpty())
else if (cItem::IsEnchantable(Item.m_ItemType) || Item.m_ItemType == E_ITEM_BOOK && Item.m_Enchantments.IsEmpty())
{
int Bookshelves = GetBookshelvesCount(a_Player.GetWorld());