summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-04 18:05:41 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-04 18:05:41 +0000
commitca8e7b4d7621570ee770dd6114eab9986f13accd (patch)
treefe0ed86847b3f9264d352d666fb1e6dcf3a54b6b /src/map/pc.c
parent38fc07331284161a3833c295dfa3633d3eecfa66 (diff)
downloadhercules-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.c13
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