From 31544d2b6973931be7fdec898ea3672bea831de2 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 30 Aug 2012 17:37:27 -0700 Subject: Fix compiler errors of C++ conversion --- src/map/itemdb.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/map/itemdb.hpp') 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; -- cgit v1.2.3-60-g2f50