aboutsummaryrefslogtreecommitdiffstats
path: root/include/inventory.h
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-11-24 07:43:05 -0500
committerClyne Sullivan <tullivan99@gmail.com>2015-11-24 07:43:05 -0500
commitda95ece60c808ca04dd5c61068d8016a92c6c9b5 (patch)
tree1f841831c467d340595248a4f0f010c93a499e73 /include/inventory.h
parent5c1be9978e4c9b18c400c051fc2b083a02b74b7a (diff)
items.h include moved
Diffstat (limited to 'include/inventory.h')
-rw-r--r--include/inventory.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/inventory.h b/include/inventory.h
index dc5c04e..46053f6 100644
--- a/include/inventory.h
+++ b/include/inventory.h
@@ -60,18 +60,9 @@ public:
};
-static Item item[5]= {
- #include "../config/items.h"
-};
-
struct item_t{
int count;
ITEM_ID itmid;
- void addC(int c, ITEM_ID i){
- count = c;
- itmid = i;
- item[itmid].addCount(count);
- }
} __attribute__((packed));