summaryrefslogtreecommitdiff
path: root/src/map/itemdb.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2012-08-30 17:37:27 -0700
committerBen Longbons <b.r.longbons@gmail.com>2012-09-03 16:23:10 -0700
commit31544d2b6973931be7fdec898ea3672bea831de2 (patch)
treedcf946429b406f39297404be662b0a840094e477 /src/map/itemdb.hpp
parent41974ae5265fbc23a06f276f9e008d5dad020e0b (diff)
downloadtmwa-31544d2b6973931be7fdec898ea3672bea831de2.tar.gz
tmwa-31544d2b6973931be7fdec898ea3672bea831de2.tar.bz2
tmwa-31544d2b6973931be7fdec898ea3672bea831de2.tar.xz
tmwa-31544d2b6973931be7fdec898ea3672bea831de2.zip
Fix compiler errors of C++ conversion
Diffstat (limited to 'src/map/itemdb.hpp')
-rw-r--r--src/map/itemdb.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/itemdb.hpp b/src/map/itemdb.hpp
index ef5eab2..e03892d 100644
--- a/src/map/itemdb.hpp
+++ b/src/map/itemdb.hpp
@@ -3,6 +3,7 @@
#define ITEMDB_HPP
#include "map.hpp"
+#include "script.hpp"
struct item_data
{
@@ -25,8 +26,8 @@ struct item_data
int elv;
int wlv;
int refine;
- char *use_script;
- char *equip_script;
+ const ScriptCode *use_script;
+ const ScriptCode *equip_script;
struct
{
unsigned available:1;