diff Player.h @ 1365:b691c96d8e06

Player::FindFreeInventorySlot and Player::CreateItemInInventory refactoring
author Grumpy7
date Mon, 15 Jul 2013 02:34:52 +0200
parents fd661c9e7f97
children 132a6a0d5cef
line wrap: on
line diff
--- a/Player.h	Mon Jul 15 02:14:39 2013 +0200
+++ b/Player.h	Mon Jul 15 02:34:52 2013 +0200
@@ -540,7 +540,7 @@
   int GetDisarmTrap();
   char GetLearningPercent();
   bool CanFitItem(unsigned int uSlot, unsigned int uItemID);
-  unsigned int FindFreeInventorySlot();
+  int FindFreeInventorySlot();
   int CreateItemInInventory(unsigned int uSlot, unsigned int uItemID);
   int HasSkill(unsigned int uSkillType);
   int WearItem(unsigned int uItemID);