From 36d28236321b6a2824ad4f394faeabbf79626808 Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Tue, 31 Jul 2007 21:29:00 +0000 Subject: Removed legacy inventory code. Added display of equipment. --- src/item.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/item.cpp') diff --git a/src/item.cpp b/src/item.cpp index 3cea30e5..487f17da 100644 --- a/src/item.cpp +++ b/src/item.cpp @@ -21,3 +21,13 @@ * $Id$ */ +#include "item.h" + +Item::Item(int id, int quantity) : + mId(id), + mQuantity(quantity) +{ + // Either type or slot, both are unused anyway. -- silene + mEquipment = getInfo().getType(); +} + -- cgit v1.2.3-60-g2f50