summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-15 17:08:52 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-15 17:08:52 +0000
commita22437d20d0afbfc699cd2ba8e7905965c0e884d (patch)
tree4dcc979c1487a23dcd7196ce2c37c742d645282b /src/map/pc.c
parent75787153a7c5208b46c513828b4242f6d93d299a (diff)
downloadhercules-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.c')
-rw-r--r--src/map/pc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index d59714e4f..0d173927d 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -5957,7 +5957,7 @@ int pc_readregistry(struct map_session_data *sd,const char *reg,int type)
return ( i < max ) ? atoi(sd_reg[i].value) : 0;
}
-char* pc_readregistry_str(struct map_session_data *sd,char *reg,int type)
+char* pc_readregistry_str(struct map_session_data *sd,const char *reg,int type)
{
struct global_reg *sd_reg;
int i,max;
@@ -6076,7 +6076,7 @@ int pc_setregistry(struct map_session_data *sd,const char *reg,int val,int type)
return 0;
}
-int pc_setregistry_str(struct map_session_data *sd,char *reg,const char *val,int type)
+int pc_setregistry_str(struct map_session_data *sd,const char *reg,const char *val,int type)
{
struct global_reg *sd_reg;
int i,*max, regmax;