diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2012-08-30 17:37:27 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2012-09-03 16:23:10 -0700 |
commit | 31544d2b6973931be7fdec898ea3672bea831de2 (patch) | |
tree | dcf946429b406f39297404be662b0a840094e477 /src/map/itemdb.hpp | |
parent | 41974ae5265fbc23a06f276f9e008d5dad020e0b (diff) | |
download | tmwa-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.hpp | 5 |
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; |