From 62e6b7335c9bf0b30d5ca392c0c5dedbe2768dc9 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sat, 28 Sep 2013 17:55:34 -0300 Subject: HPM: pc.c Completed Moved missing vars and declarations of interest into the interface. Signed-off-by: shennetsind --- src/map/atcommand.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index cec314134..5a6068a54 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -5428,14 +5428,14 @@ ACMD(skilltree) { sprintf(atcmd_output, msg_txt(1168), pc->job_name(c), pc->checkskill(pl_sd, NV_BASIC)); // Player is using %s skill tree (%d basic points). clif->message(fd, atcmd_output); - ARR_FIND( 0, MAX_SKILL_TREE, j, skill_tree[c][j].id == 0 || skill_tree[c][j].id == skill_id ); - if( j == MAX_SKILL_TREE || skill_tree[c][j].id == 0 ) + ARR_FIND( 0, MAX_SKILL_TREE, j, pc->skill_tree[c][j].id == 0 || pc->skill_tree[c][j].id == skill_id ); + if( j == MAX_SKILL_TREE || pc->skill_tree[c][j].id == 0 ) { clif->message(fd, msg_txt(1169)); // The player cannot use that skill. return true; } - ent = &skill_tree[c][j]; + ent = &pc->skill_tree[c][j]; meets = 1; for(j=0;j