Fixed build

This commit is contained in:
Ovahlord committed 2020-07-22 15:21:50 +02:00
1 parent 2cc36c5eec
commit 280b8dc799
8 files changed
+19 -17

No files matched your search

+2 -2
View File
@@ -10944,7 +10944,7 @@ InventoryResult Player::CanEquipItem(uint8 slot, uint16 &dest, Item* pItem, bool
return EQUIP_ERR_GENERIC_STUNNED;
if (IsCharmed())
return EQUIP_ERR_CANT_DO_RIGHT_NOW; // @todo is this the correct error?
return EQUIP_ERR_CLIENT_LOCKED_OUT; // @todo is this the correct error?
// do not allow equipping gear except weapons, offhands, projectiles, relics in
// - combat
@@ -11103,7 +11103,7 @@ InventoryResult Player::CanUnequipItem(uint16 pos, bool swap) const
return EQUIP_ERR_LOOT_GONE;
if (IsCharmed())
return EQUIP_ERR_CANT_DO_RIGHT_NOW; // @todo is this the correct error?
return EQUIP_ERR_CLIENT_LOCKED_OUT; // @todo is this the correct error?
// do not allow unequipping gear except weapons, offhands, projectiles, relics in
// - combat