summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-01 07:23:58 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-01 07:23:58 +0000
commit6eb86a3d23953856eeac3a4e7c4f52143e24f880 (patch)
treeec27e96f1952de3768c15f17f93f4876408e24a6 /src/item.h
parent36d28236321b6a2824ad4f394faeabbf79626808 (diff)
downloadmana-6eb86a3d23953856eeac3a4e7c4f52143e24f880.tar.gz
mana-6eb86a3d23953856eeac3a4e7c4f52143e24f880.tar.bz2
mana-6eb86a3d23953856eeac3a4e7c4f52143e24f880.tar.xz
mana-6eb86a3d23953856eeac3a4e7c4f52143e24f880.zip
Fixed update of equipment flag, so that items can be equipped properly.
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/item.h b/src/item.h
index 2a60bf3a..00a8a043 100644
--- a/src/item.h
+++ b/src/item.h
@@ -40,8 +40,7 @@ class Item
/**
* Sets the item id, identifying the item type.
*/
- void
- setId(int id) { mId = id; }
+ void setId(int id);
/**
* Returns the item id.