diff options
author | shennetsind <ind@henn.et> | 2013-09-28 17:55:34 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-09-28 17:55:34 -0300 |
commit | 62e6b7335c9bf0b30d5ca392c0c5dedbe2768dc9 (patch) | |
tree | 004933d5e2d1e4252fc1ac76e8f71ccec8367541 /src/map/atcommand.c | |
parent | 871f83f62bf4eb1043bbda182fe0346454686a16 (diff) | |
download | hercules-62e6b7335c9bf0b30d5ca392c0c5dedbe2768dc9.tar.gz hercules-62e6b7335c9bf0b30d5ca392c0c5dedbe2768dc9.tar.bz2 hercules-62e6b7335c9bf0b30d5ca392c0c5dedbe2768dc9.tar.xz hercules-62e6b7335c9bf0b30d5ca392c0c5dedbe2768dc9.zip |
HPM: pc.c Completed
Moved missing vars and declarations of interest into the interface.
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 6 |
1 files changed, 3 insertions, 3 deletions
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<MAX_PC_SKILL_REQUIRE;j++) |