From 8f8e2e42ba3ea1416b80190a3006c061ef4ed8b5 Mon Sep 17 00:00:00 2001 From: skotlex Date: Sun, 11 Mar 2007 20:02:42 +0000 Subject: - @storage/@gstorage will no longer work if you have a trade or a storage opened already. - Cleaned up a bit @gstorage - Added a bunch of npc functions required to properly handle moving the NPC cells when an npc is moved from it's previous location. - Added npc_setcells to handle setting down the NPC cells of ontouch npcs. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9990 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/npc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/npc.h') diff --git a/src/map/npc.h b/src/map/npc.h index 0a1025040..93b9b21d1 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -54,6 +54,8 @@ int npc_parse_mob2 (struct spawn_data*, int index); // [Wizputer] int npc_parse_warp(char *w1,char *w2,char *w3,char *w4); int npc_globalmessage(const char *name,const char *mes); +void npc_setcells(struct npc_data *nd); +void npc_movenpc(struct npc_data *nd, int x, int y); int npc_enable(const char *name,int flag); int npc_changename(const char *name, const char *newname, short look); // [Lance] struct npc_data* npc_name2id(const char *name); -- cgit v1.2.3-60-g2f50