summaryrefslogtreecommitdiff
path: root/src/equipment.h
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-08 14:40:09 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-08 14:40:09 +0000
commit998920e7da3c1b27f2d7cc5f8b5a37efbf5663e5 (patch)
tree28278b3208c650bdf6d2857cdfad95806d052bea /src/equipment.h
parentdc171fd00cd575d76b51501d6ce68b68faefe2e7 (diff)
downloadmana-998920e7da3c1b27f2d7cc5f8b5a37efbf5663e5.tar.gz
mana-998920e7da3c1b27f2d7cc5f8b5a37efbf5663e5.tar.bz2
mana-998920e7da3c1b27f2d7cc5f8b5a37efbf5663e5.tar.xz
mana-998920e7da3c1b27f2d7cc5f8b5a37efbf5663e5.zip
Fixed position of the cleaning bit for looks, so that it actually fits into network data.
Diffstat (limited to 'src/equipment.h')
-rw-r--r--src/equipment.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/equipment.h b/src/equipment.h
index bac5a028..f820dcf0 100644
--- a/src/equipment.h
+++ b/src/equipment.h
@@ -24,8 +24,6 @@
#ifndef _TMW_EQUIPMENT_H_
#define _TMW_EQUIPMENT_H_
-class Item;
-
#define EQUIPMENT_SIZE 11
class Equipment
@@ -34,7 +32,13 @@ class Equipment
/**
* Constructor.
*/
- Equipment();
+ Equipment()
+ { clear(); }
+
+ /**
+ * Clears equipment.
+ */
+ void clear();
/**
* Get equipment at the given slot.