From a6e523c4768ab894231d342cc98e8818259625ae Mon Sep 17 00:00:00 2001 From: shennetsind Date: Fri, 27 Sep 2013 13:15:36 -0300 Subject: HPM: Battle.c Completed Moved missing vars and declarations of interest into the interface Signed-off-by: shennetsind --- src/map/pc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/map/pc.c') diff --git a/src/map/pc.c b/src/map/pc.c index 338459d16..d11eb7e75 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -9994,7 +9994,7 @@ int pc_readdb(void) { for(i=0;i<4;i++) for(j=0;jattr_fix_table[i][j][k]=100; sprintf(line, "%s/"DBPATH"attr_fix.txt", map->db_path); @@ -10029,9 +10029,9 @@ int pc_readdb(void) { for(j=0,p=line;j0) p++; - attr_fix_table[lv-1][i][j]=atoi(p); - if(battle_config.attr_recover == 0 && attr_fix_table[lv-1][i][j] < 0) - attr_fix_table[lv-1][i][j] = 0; + battle->attr_fix_table[lv-1][i][j]=atoi(p); + if(battle_config.attr_recover == 0 && battle->attr_fix_table[lv-1][i][j] < 0) + battle->attr_fix_table[lv-1][i][j] = 0; p=strchr(p,','); if(p) *p++=0; } -- cgit v1.2.3-70-g09d2