diff options
Diffstat (limited to 'src/item.cpp')
-rw-r--r-- | src/item.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
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(); +} + |