From 0e925e97554aae573e895afa4e3d8450f01df342 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Thu, 15 Nov 2007 23:44:01 +0000 Subject: Moved item icon from ItemInfo class to the Item class, so that it can be loaded on demand. Results in faster startup time and reduced memory usage. --- src/localplayer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/localplayer.h') diff --git a/src/localplayer.h b/src/localplayer.h index d6cb11ba..ddf5878e 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -142,7 +142,7 @@ class LocalPlayer : public Player drawName(Graphics *, int, int) {}; void clearInventory(); - Item* getInvItem(int index); + void setInvItem(int index, int id, int amount); /** * Move the Inventory item from the old slot to the new slot. -- cgit v1.2.3-70-g09d2