summaryrefslogtreecommitdiff
path: root/src/emap/map.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/map.c
parent2c9c1e2eb8e74a6f8d9765993365648555ddf9b0 (diff)
downloadplugin-31cc98f9208f3e7681bb223a23cd2aed2433c021.tar.gz
plugin-31cc98f9208f3e7681bb223a23cd2aed2433c021.tar.bz2
plugin-31cc98f9208f3e7681bb223a23cd2aed2433c021.tar.xz
plugin-31cc98f9208f3e7681bb223a23cd2aed2433c021.zip
Update plugin for new hercules.
Diffstat (limited to 'src/emap/map.c')
-rw-r--r--src/emap/map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emap/map.c b/src/emap/map.c
index 4392132..428853d 100644
--- a/src/emap/map.c
+++ b/src/emap/map.c
@@ -122,7 +122,7 @@ void emap_online_list(int fd)
const int gpoupLevel = pc_get_group_level(ssd);
data1->onlinelistlasttime = t;
- DBIterator* iter = db_iterator(map->pc_db);
+ struct DBIterator* iter = db_iterator(map->pc_db);
for (sd = dbi_first(iter); dbi_exists(iter); sd = dbi_next(iter))
{
@@ -412,7 +412,7 @@ void emap_iwall_get(struct map_session_data *sd)
return;
}
- DBIterator* iter = db_iterator(map->iwall_db);
+ struct DBIterator* iter = db_iterator(map->iwall_db);
struct WallData *wall;
for (wall = dbi_first(iter); dbi_exists(iter); wall = dbi_next(iter))
{