summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-30 16:38:14 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-30 16:38:14 +0000
commit296c89017a4dc3fcf6ccad304b4e325c944dabbc (patch)
tree9551127297064bc16e231959a063f1e472b86f34 /src/map/pc.c
parentd427fe23e39d1384c03c0d54fa4fe34e46eb80b6 (diff)
downloadhercules-296c89017a4dc3fcf6ccad304b4e325c944dabbc.tar.gz
hercules-296c89017a4dc3fcf6ccad304b4e325c944dabbc.tar.bz2
hercules-296c89017a4dc3fcf6ccad304b4e325c944dabbc.tar.xz
hercules-296c89017a4dc3fcf6ccad304b4e325c944dabbc.zip
Added support for RE attr table, due to bugreport:5182
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15332 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index c6b0d1b62..eef9188a1 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -8254,8 +8254,11 @@ int pc_readdb(void)
for(j=0;j<ELE_MAX;j++)
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);
+#else
sprintf(line, "%s/attr_fix.txt", db_path);
+#endif
fp=fopen(line,"r");
if(fp==NULL){
ShowError("can't read %s\n", line);