diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-04 18:05:41 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-04 18:05:41 +0000 |
commit | ca8e7b4d7621570ee770dd6114eab9986f13accd (patch) | |
tree | fe0ed86847b3f9264d352d666fb1e6dcf3a54b6b /src/map/pc.c | |
parent | 38fc07331284161a3833c295dfa3633d3eecfa66 (diff) | |
download | hercules-ca8e7b4d7621570ee770dd6114eab9986f13accd.tar.gz hercules-ca8e7b4d7621570ee770dd6114eab9986f13accd.tar.bz2 hercules-ca8e7b4d7621570ee770dd6114eab9986f13accd.tar.xz hercules-ca8e7b4d7621570ee770dd6114eab9986f13accd.zip |
Re-designed /db/ folder structure as previously discussed.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15390 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 9d0868c19..0a7d1c901 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -8249,9 +8249,9 @@ int pc_readdb(void) for(k=0;k<ELE_MAX;k++) attr_fix_table[i][j][k]=100; #if REMODE - sprintf(line, "%s/attr_fix_re.txt", db_path); + sprintf(line, "%s/re/attr_fix.txt", db_path); #else - sprintf(line, "%s/attr_fix.txt", db_path); + sprintf(line, "%s/pre-re/attr_fix.txt", db_path); #endif fp=fopen(line,"r"); if(fp==NULL){ @@ -8301,9 +8301,9 @@ int pc_readdb(void) memset(statp,0,sizeof(statp)); i=1; #if REMODE - sprintf(line, "%s/statpoint_renewal.txt", db_path); + sprintf(line, "%s/re/statpoint.txt", db_path); #else - sprintf(line, "%s/statpoint.txt", db_path); + sprintf(line, "%s/pre-re/statpoint.txt", db_path); #endif fp=fopen(line,"r"); if(fp == NULL){ @@ -8323,11 +8323,8 @@ int pc_readdb(void) i++; } fclose(fp); - #if REMODE - ShowStatus("Done reading '"CL_WHITE"%s"CL_RESET"'.\n","statpoint_renewal.txt"); - #else + ShowStatus("Done reading '"CL_WHITE"%s"CL_RESET"'.\n","statpoint.txt"); - #endif } // generate the remaining parts of the db if necessary k = battle_config.use_statpoint_table; //save setting |