diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-18 22:43:41 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-18 22:43:41 +0000 |
commit | 6ce5dacb5b15f16ff4c672596c091a41a190d687 (patch) | |
tree | e2cf5b1ee2869933472b21a3b609ad813fb07652 /src/map/npc_chat.c | |
parent | 504f2e94093f05ce66be9bf54a5fa64cf5a53d3d (diff) | |
download | hercules-6ce5dacb5b15f16ff4c672596c091a41a190d687.tar.gz hercules-6ce5dacb5b15f16ff4c672596c091a41a190d687.tar.bz2 hercules-6ce5dacb5b15f16ff4c672596c091a41a190d687.tar.xz hercules-6ce5dacb5b15f16ff4c672596c091a41a190d687.zip |
- Removed the old 'mapserver charsave' mechanism
- Fixed some wrong sql login logic
- Fixed some compiler warnings, cleaned up mapserver sql-related vars
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10027 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc_chat.c')
-rw-r--r-- | src/map/npc_chat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/npc_chat.c b/src/map/npc_chat.c index e77c93020..9cee26f8e 100644 --- a/src/map/npc_chat.c +++ b/src/map/npc_chat.c @@ -369,7 +369,7 @@ int npc_chat_sub(struct block_list *bl, va_list ap) { struct npc_data *nd = (struct npc_data *)bl; struct npc_parse *npcParse = (struct npc_parse *) nd->chatdb; - unsigned char *msg; + char *msg; int len, pos, i; struct map_session_data *sd; struct npc_label_list *lst; @@ -379,7 +379,7 @@ int npc_chat_sub(struct block_list *bl, va_list ap) if (npcParse == NULL || npcParse->active_ == NULL) return 0; - msg = va_arg(ap,unsigned char*); + msg = va_arg(ap,char*); len = va_arg(ap,int); sd = va_arg(ap,struct map_session_data *); |