From 5869aadef89270cf38bee53f5ce3959142dde10a Mon Sep 17 00:00:00 2001 From: AnnieRuru Date: Thu, 5 Nov 2015 06:22:20 +0800 Subject: Fix @QMapChangeTo$ not usable when HQO_OnMapChange triggered - also add documentation for it --- src/map/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/pc.c b/src/map/pc.c index 0671bfb5e..d3b5498cc 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -5529,7 +5529,7 @@ int pc_setpos(struct map_session_data* sd, unsigned short map_index, int x, int for( i = 0; i < sd->queues_count; i++ ) { 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); + pc->setregstr(sd, script->add_str("@QMapChangeTo$"), map->list[m].name); npc->event(sd, queue->event_mapchange, 0); } } -- cgit v1.2.3-70-g09d2