summaryrefslogtreecommitdiff
path: root/src/map/npc.h
diff options
context:
space:
mode:
authormomacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-12 02:46:28 +0000
committermomacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-12 02:46:28 +0000
commita1ad56d8c1e5d07c3dbe3b3d3d54c94650febeaa (patch)
tree50a71b098f2c89fb28df649f46221c2b2f7499a7 /src/map/npc.h
parent94898ebfcf8ccdae5b064fa27f843136c19e2a65 (diff)
downloadhercules-a1ad56d8c1e5d07c3dbe3b3d3d54c94650febeaa.tar.gz
hercules-a1ad56d8c1e5d07c3dbe3b3d3d54c94650febeaa.tar.bz2
hercules-a1ad56d8c1e5d07c3dbe3b3d3d54c94650febeaa.tar.xz
hercules-a1ad56d8c1e5d07c3dbe3b3d3d54c94650febeaa.zip
Modified @addwarp to accept a new optional parameter <npc name>. If <npc name> 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
Diffstat (limited to 'src/map/npc.h')
-rw-r--r--src/map/npc.h2
1 files changed, 1 insertions, 1 deletions
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);