diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-08-15 17:08:52 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-08-15 17:08:52 +0000 |
commit | a22437d20d0afbfc699cd2ba8e7905965c0e884d (patch) | |
tree | 4dcc979c1487a23dcd7196ce2c37c742d645282b /src/map/pc.h | |
parent | 75787153a7c5208b46c513828b4242f6d93d299a (diff) | |
download | hercules-a22437d20d0afbfc699cd2ba8e7905965c0e884d.tar.gz hercules-a22437d20d0afbfc699cd2ba8e7905965c0e884d.tar.bz2 hercules-a22437d20d0afbfc699cd2ba8e7905965c0e884d.tar.xz hercules-a22437d20d0afbfc699cd2ba8e7905965c0e884d.zip |
Some cleaning in script.c
- documentation of functions translation of japanese comments
- usage of const char* instead of char* where appropriate
- removal of unused isstr() function
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13083 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index d8dd582c5..9c3768c7b 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -634,8 +634,8 @@ int pc_setregstr(struct map_session_data *sd,int reg,const char *str); #define pc_setaccountreg2str(sd,reg,val) pc_setregistry_str(sd,reg,val,1) int pc_readregistry(struct map_session_data*,const char*,int); int pc_setregistry(struct map_session_data*,const char*,int,int); -char *pc_readregistry_str(struct map_session_data*,char*,int); -int pc_setregistry_str(struct map_session_data*,char*,const char*,int); +char *pc_readregistry_str(struct map_session_data*,const char*,int); +int pc_setregistry_str(struct map_session_data*,const char*,const char*,int); int pc_addeventtimer(struct map_session_data *sd,int tick,const char *name); int pc_deleventtimer(struct map_session_data *sd,const char *name); |