1
0
Fork 0

Removed old include

This commit is contained in:
daniel0916 2014-04-18 14:10:31 +02:00
parent 0086fcfef1
commit 3efd232829
2 changed files with 1 additions and 2 deletions

View File

@ -2737,7 +2737,7 @@ void cClientHandle::HandleEnchantItem(Byte & WindowID, Byte & Enchantment)
if (Item.EnchantByXPLevels(BaseEnchantmentLevel))
{
if (m_Player->IsGameModeCreative() | m_Player->DeltaExperience(-m_Player->XpForLevel(BaseEnchantmentLevel)) >= 0)
if (m_Player->IsGameModeCreative() || m_Player->DeltaExperience(-m_Player->XpForLevel(BaseEnchantmentLevel)) >= 0)
{
Window->m_SlotArea->SetSlot(0, *m_Player, Item);
Window->SendSlot(*m_Player, Window->m_SlotArea, 0);

View File

@ -10,7 +10,6 @@
#include "Defines.h"
#include "WorldStorage/EnchantmentSerializer.h"
#include "Entities/Player.h"