diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-09 00:10:06 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-09 00:10:06 +0000 |
commit | 6f96f2dea64de97bd5a16a146c8ce943b01563de (patch) | |
tree | 25a12c7facec28b21f18fefc8edff1115e24f7a0 /src/map/intif.h | |
parent | ea692a1f5c94f05619a7d0e9cb4ab4a9a1d24093 (diff) | |
download | hercules-6f96f2dea64de97bd5a16a146c8ce943b01563de.tar.gz hercules-6f96f2dea64de97bd5a16a146c8ce943b01563de.tar.bz2 hercules-6f96f2dea64de97bd5a16a146c8ce943b01563de.tar.xz hercules-6f96f2dea64de97bd5a16a146c8ce943b01563de.zip |
- Made conv_str return const char* since the script engine screws up if you mess with the position of the terminator on the received string.
- Because of this, many functions that handled the return of conv_str need to be changed, I haven't finished doing the conversion process because I must go already, if someone else can continue, please do so (I will resume work on this in ~5 hours
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9978 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/intif.h')
-rw-r--r-- | src/map/intif.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/intif.h b/src/map/intif.h index b1d82940c..f80041847 100644 --- a/src/map/intif.h +++ b/src/map/intif.h @@ -6,8 +6,8 @@ int intif_parse(int fd); -int intif_GMmessage(char* mes,int len,int flag); -int intif_announce(char* mes,int len, unsigned long color, int flag); +int intif_GMmessage(const char* mes,int len,int flag); +int intif_announce(const char* mes,int len, unsigned long color, int flag); int intif_wis_message(struct map_session_data *sd,char *nick,char *mes,int mes_len); int intif_wis_message_to_gm(char *Wisp_name, int min_gm_level, char *mes); |