summaryrefslogtreecommitdiff
path: root/src/map/mercenary.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-07 16:49:03 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-07 16:49:03 +0000
commitb795233e374987f4c427f59922f271810f937eef (patch)
tree047fafbeb99c4b12bcaadf046854af54e85dcad0 /src/map/mercenary.c
parentf4a6909849243c3e4776ddee4de962224e80ac9a (diff)
downloadhercules-b795233e374987f4c427f59922f271810f937eef.tar.gz
hercules-b795233e374987f4c427f59922f271810f937eef.tar.bz2
hercules-b795233e374987f4c427f59922f271810f937eef.tar.xz
hercules-b795233e374987f4c427f59922f271810f937eef.zip
Undid the memset->malloc_set replacement
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9626 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mercenary.c')
-rw-r--r--src/map/mercenary.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/mercenary.c b/src/map/mercenary.c
index 99ca1017e..8486c0335 100644
--- a/src/map/mercenary.c
+++ b/src/map/mercenary.c
@@ -752,7 +752,7 @@ int read_homunculusdb(void)
char *filename[]={"homunculus_db.txt","homunculus_db2.txt"};
char *str[36];
- malloc_set(homunculus_db,0,sizeof(homunculus_db));
+ memset(homunculus_db,0,sizeof(homunculus_db));
for(i = 0; i<2; i++)
{
sprintf(line, "%s/%s", db_path, filename[i]);
@@ -839,7 +839,7 @@ int read_homunculus_skilldb(void)
int j = 0;
char *split[15];
- malloc_tsetdword(hskill_tree,0,sizeof(hskill_tree));
+ memset(hskill_tree,0,sizeof(hskill_tree));
sprintf(line, "%s/homun_skill_tree.txt", db_path);
fp=fopen(line,"r");
if(fp==NULL){
@@ -906,7 +906,7 @@ void read_homunculus_expdb(void)
int i, j=0;
char *filename[]={"exp_homun.txt","exp_homun2.txt"};
- malloc_tsetdword(hexptbl,0,sizeof(hexptbl));
+ memset(hexptbl,0,sizeof(hexptbl));
for(i=0; i<2; i++){
sprintf(line, "%s/%s", db_path, filename[i]);
fp=fopen(line,"r");