summaryrefslogtreecommitdiff
path: root/src/char/inter.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-31 15:11:27 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-15 11:47:29 +0300
commit49f424935dee19fd7be02e0b598f6f24ca5e76ef (patch)
tree46094f43a07d774b5ba26eba89f4baa89a57bedf /src/char/inter.c
parent77b88fe80b907122b24d698938538c22e029d25f (diff)
downloadhercules-49f424935dee19fd7be02e0b598f6f24ca5e76ef.tar.gz
hercules-49f424935dee19fd7be02e0b598f6f24ca5e76ef.tar.bz2
hercules-49f424935dee19fd7be02e0b598f6f24ca5e76ef.tar.xz
hercules-49f424935dee19fd7be02e0b598f6f24ca5e76ef.zip
Add prefix char_ to most functions in char.c
Diffstat (limited to 'src/char/inter.c')
-rw-r--r--src/char/inter.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/char/inter.c b/src/char/inter.c
index df2920aa0..a2cf33ec3 100644
--- a/src/char/inter.c
+++ b/src/char/inter.c
@@ -700,7 +700,7 @@ void inter_savereg(int account_id, int char_id, const char *key, unsigned int in
/* to login server we go! */
if( key[0] == '#' && key[1] == '#' ) {/* global account reg */
if( session_isValid(login_fd) )
- global_accreg_to_login_add(key,index,val,is_string);
+ char_global_accreg_to_login_add(key,index,val,is_string);
else {
ShowError("Login server unavailable, cant perform update on '%s' variable for AID:%d CID:%d\n",key,account_id,char_id);
}
@@ -1313,7 +1313,7 @@ int mapif_parse_Registry(int fd)
bool isLoginActive = session_isActive(login_fd);
if( isLoginActive )
- global_accreg_to_login_start(account_id,char_id);
+ char_global_accreg_to_login_start(account_id,char_id);
for(i = 0; i < count; i++) {
safestrncpy(key, (char*)RFIFOP(fd, cursor + 1), RFIFOB(fd, cursor));
@@ -1349,7 +1349,7 @@ int mapif_parse_Registry(int fd)
}
if( isLoginActive )
- global_accreg_to_login_send();
+ char_global_accreg_to_login_send();
}
return 0;
}
@@ -1362,7 +1362,7 @@ int mapif_parse_RegistryRequest(int fd)
//Load Account Registry
if (RFIFOB(fd,11)) mapif_account_reg_reply(fd,RFIFOL(fd,2),RFIFOL(fd,6),2);
//Ask Login Server for Account2 values.
- if (RFIFOB(fd,10)) request_accreg2(RFIFOL(fd,2),RFIFOL(fd,6));
+ if (RFIFOB(fd,10)) char_request_accreg2(RFIFOL(fd,2),RFIFOL(fd,6));
return 1;
}