diff Player.h @ 1383:0a4254e80036

Player::PutItemArInventoryIndex, Player::RemoveItemAtInventoryIndex cleanup, slightly simplified
author Grumpy7
date Tue, 16 Jul 2013 00:40:01 +0200
parents 132a6a0d5cef
children b51332ab228f
line wrap: on
line diff
--- a/Player.h	Tue Jul 16 00:20:17 2013 +0200
+++ b/Player.h	Tue Jul 16 00:40:01 2013 +0200
@@ -547,7 +547,7 @@
   int AddItem(int uSlot, unsigned int uItemID);
   int AddItem2(int uSlot, ItemGen *Src);
   int CreateItemInInventory2(unsigned int uSlot, ItemGen *Src);
-  int PutItemArInventoryIndex(ItemGen *item, int item_id, int uSlot);
+  void PutItemArInventoryIndex(int uItemID, int item_id, int uSlot);
   void RemoveItemAtInventoryIndex(unsigned int uSlot);
   bool CanAct();
   bool CanSteal();