diff options
author | Haru <haru@dotalux.com> | 2015-09-14 15:00:02 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-11-14 19:03:36 +0100 |
commit | 778db38c4a584cbc3a8a9e56fcef54447e9bee47 (patch) | |
tree | 7175b7b09bb4a6feddb879c2689fb4f18392b63b /src/map/pc.c | |
parent | 1c9e25d58901e9c5bcea6bcbe885bd9c3eb5c72b (diff) | |
download | hercules-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/pc.c')
-rw-r--r-- | src/map/pc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 351d77b26..0671bfb5e 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -5527,10 +5527,10 @@ int pc_setpos(struct map_session_data* sd, unsigned short map_index, int x, int sd->state.pmap = sd->bl.m; for( i = 0; i < sd->queues_count; i++ ) { - struct hQueue *queue; - if( (queue = script->queue(sd->queues[i])) && queue->onMapChange[0] != '\0' ) { + struct script_queue *queue = script->queue(sd->queues[i]); + if (queue && queue->event_mapchange[0] != '\0') { pc->setregstr(sd, script->add_str("QMapChangeTo"), map->list[m].name); - npc->event(sd, queue->onMapChange, 0); + npc->event(sd, queue->event_mapchange, 0); } } @@ -7635,9 +7635,9 @@ int pc_dead(struct map_session_data *sd,struct block_list *src) { } for( i = 0; i < sd->queues_count; i++ ) { - struct hQueue *queue; - if( (queue = script->queue(sd->queues[i])) && queue->onDeath[0] != '\0' ) - npc->event(sd, queue->onDeath, 0); + struct script_queue *queue = script->queue(sd->queues[i]); + if (queue && queue->event_death[0] != '\0') + npc->event(sd, queue->event_death, 0); } npc->script_event(sd,NPCE_DIE); |