diff options
Diffstat (limited to 'src/map/map.h')
-rw-r--r-- | src/map/map.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/map.h b/src/map/map.h index f5fe6a4b6..b2660e124 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -838,7 +838,7 @@ struct npc_data { union { struct { struct script_code *script; - short xs,ys; + short xs,ys; // OnTouch area radius int guild_id; int timer,timerid,timeramount,rid; unsigned int timertick; @@ -849,9 +849,9 @@ struct npc_data { } scr; struct npc_item_list shop_item[1];// dynamic array, allocated with extra entries (last one has nameid 0) struct { - short xs,ys; - short x,y; - unsigned short mapindex; + short xs,ys; // OnTouch area radius + short x,y; // destination coords + unsigned short mapindex; // destination map } warp; } u; //Do NOT place anything afterwards... shop data NPC will override any variables from here and on! [Skotlex] |