diff options
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index 2301076c2..86d649cde 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -3364,7 +3364,7 @@ void npc_read_event_script(void) strncpy(name+2,config[i].event_name,62); script_event[i].event_count = 0; - iter = ev_db->iterator(ev_db); + iter = db_iterator(ev_db); for( data = iter->first(iter,&key); iter->exists(iter); data = iter->next(iter,&key) ) { const char* p = key.str; @@ -3384,7 +3384,7 @@ void npc_read_event_script(void) script_event[i].event_count++; } } - iter->destroy(iter); + dbi_destroy(iter); } if (battle_config.etc_log) { |