summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-11-16 18:11:34 -0200
committershennetsind <ind@henn.et>2013-11-16 18:11:34 -0200
commit42a7aa3362807a00f08263d8ead9eb5019051b21 (patch)
treebb911aa4d48566f0b156b0157aa367acbcf175d2 /src/map/pc.c
parent899347ad8a74af01cdeebf24795195cd5a3fdfdc (diff)
downloadhercules-42a7aa3362807a00f08263d8ead9eb5019051b21.tar.gz
hercules-42a7aa3362807a00f08263d8ead9eb5019051b21.tar.bz2
hercules-42a7aa3362807a00f08263d8ead9eb5019051b21.tar.xz
hercules-42a7aa3362807a00f08263d8ead9eb5019051b21.zip
Renewal elemental attr fix
I'm committing on malufett's behalf. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 9cea5d424..b930ffaad 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -10166,8 +10166,10 @@ int pc_readdb(void) {
while(*p==32 && *p>0)
p++;
battle->attr_fix_table[lv-1][i][j]=atoi(p);
+#ifndef RENEWAL
if(battle_config.attr_recover == 0 && battle->attr_fix_table[lv-1][i][j] < 0)
battle->attr_fix_table[lv-1][i][j] = 0;
+#endif
p=strchr(p,',');
if(p) *p++=0;
}