From a1ad56d8c1e5d07c3dbe3b3d3d54c94650febeaa Mon Sep 17 00:00:00 2001 From: momacabu Date: Mon, 12 Nov 2012 02:46:28 +0000 Subject: Modified @addwarp to accept a new optional parameter . If is specified, then the warp created will have that name. Otherwise it will use a name chosen by the emulator. If there is already another warp with that name the generic name will be used instead. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16919 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/npc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/npc.h') diff --git a/src/map/npc.h b/src/map/npc.h index 29cf39c77..0379ae634 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -120,7 +120,7 @@ int npc_buysellsel(struct map_session_data* sd, int id, int type); int npc_buylist(struct map_session_data* sd,int n, unsigned short* item_list); int npc_selllist(struct map_session_data* sd, int n, unsigned short* item_list); void npc_parse_mob2(struct spawn_data* mob); -struct npc_data* npc_add_warp(short from_mapid, short from_x, short from_y, short xs, short ys, unsigned short to_mapindex, short to_x, short to_y); +struct npc_data* npc_add_warp(char* name, short from_mapid, short from_x, short from_y, short xs, short ys, unsigned short to_mapindex, short to_x, short to_y); int npc_globalmessage(const char* name,const char* mes); void npc_setcells(struct npc_data* nd); -- cgit v1.2.3-70-g09d2