summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-09-14 15:00:02 +0200
committerHaru <haru@dotalux.com>2015-11-14 19:03:36 +0100
commit778db38c4a584cbc3a8a9e56fcef54447e9bee47 (patch)
tree7175b7b09bb4a6feddb879c2689fb4f18392b63b /src/map/map.c
parent1c9e25d58901e9c5bcea6bcbe885bd9c3eb5c72b (diff)
downloadhercules-778db38c4a584cbc3a8a9e56fcef54447e9bee47.tar.gz
hercules-778db38c4a584cbc3a8a9e56fcef54447e9bee47.tar.bz2
hercules-778db38c4a584cbc3a8a9e56fcef54447e9bee47.tar.xz
hercules-778db38c4a584cbc3a8a9e56fcef54447e9bee47.zip
Renamed hQueue/hQueueIterator/hQueueOpt to latest standards
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/map.c b/src/map/map.c
index cd2ba17c2..dd5baa626 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1803,9 +1803,9 @@ int map_quit(struct map_session_data *sd) {
pc->itemcd_do(sd,false);
for( i = 0; i < sd->queues_count; i++ ) {
- struct hQueue *queue;
- if( (queue = script->queue(sd->queues[i])) && queue->onLogOut[0] != '\0' ) {
- npc->event(sd, queue->onLogOut, 0);
+ struct script_queue *queue = script->queue(sd->queues[i]);
+ if (queue && queue->event_logout[0] != '\0') {
+ npc->event(sd, queue->event_logout, 0);
}
}
/* two times, the npc event above may assign a new one or delete others */