summaryrefslogtreecommitdiff
path: root/src/emap/craft.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-04 19:14:27 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-04 19:14:27 +0300
commit31cc98f9208f3e7681bb223a23cd2aed2433c021 (patch)
tree94f60a3e7831b0ada18d35ea39cf0f518242e359 /src/emap/craft.c
parent2c9c1e2eb8e74a6f8d9765993365648555ddf9b0 (diff)
downloadevol-hercules-31cc98f9208f3e7681bb223a23cd2aed2433c021.tar.gz
evol-hercules-31cc98f9208f3e7681bb223a23cd2aed2433c021.tar.bz2
evol-hercules-31cc98f9208f3e7681bb223a23cd2aed2433c021.tar.xz
evol-hercules-31cc98f9208f3e7681bb223a23cd2aed2433c021.zip
Update plugin for new hercules.
Diffstat (limited to 'src/emap/craft.c')
-rw-r--r--src/emap/craft.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emap/craft.c b/src/emap/craft.c
index 59ebfa0..87310e5 100644
--- a/src/emap/craft.c
+++ b/src/emap/craft.c
@@ -47,8 +47,8 @@ static void delete_craft_var(struct craft_vardata *craft)
}
}
-static int delete_craftvar_sub(DBKey key __attribute__ ((unused)),
- DBData *data,
+static int delete_craftvar_sub(union DBKey key __attribute__ ((unused)),
+ struct DBData *data,
va_list args __attribute__ ((unused)))
{
struct craft_vardata *craft = DB->data2ptr(data);
@@ -665,7 +665,7 @@ static int craft_get_recipe(TBL_PC *sd,
init_inventory_copy(sd, &local_inventory[0]);
- DBIterator* iter = db_iterator(craftconf_db);
+ struct DBIterator* iter = db_iterator(craftconf_db);
for (entry = dbi_first(iter); dbi_exists(iter); entry = dbi_next(iter))
{