summaryrefslogtreecommitdiff
path: root/src/map/itemdb.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-04-27 10:36:35 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-04-27 14:09:22 -0700
commit7a9cee6ac24f5cfaaa73c97e5fef733eadba09ad (patch)
tree77120b9a83ceda3fa845cad457199de62a0a94b7 /src/map/itemdb.hpp
parentd18f5bdb682a1d9c6e3a191926bfd46d36e813c1 (diff)
downloadtmwa-7a9cee6ac24f5cfaaa73c97e5fef733eadba09ad.tar.gz
tmwa-7a9cee6ac24f5cfaaa73c97e5fef733eadba09ad.tar.bz2
tmwa-7a9cee6ac24f5cfaaa73c97e5fef733eadba09ad.tar.xz
tmwa-7a9cee6ac24f5cfaaa73c97e5fef733eadba09ad.zip
Enumize ItemLook
Diffstat (limited to 'src/map/itemdb.hpp')
-rw-r--r--src/map/itemdb.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/itemdb.hpp b/src/map/itemdb.hpp
index 056213e..279c7a8 100644
--- a/src/map/itemdb.hpp
+++ b/src/map/itemdb.hpp
@@ -23,7 +23,7 @@ struct item_data
int range;
int magic_bonus;
int slot;
- int look;
+ ItemLook look;
int elv;
int wlv;
int refine;
@@ -57,7 +57,7 @@ ItemType itemdb_type(int n)
return itemdb_search(n)->type;
}
inline
-int itemdb_look(int n)
+ItemLook itemdb_look(int n)
{
return itemdb_search(n)->look;
}