diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-24 16:43:26 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-24 16:43:26 +0000 |
commit | d8b857ad9db40f4e6345419c8d3659b7914519e7 (patch) | |
tree | 01bc7b8c8dd0e4d89f9061627fbeb2a2fe5a5f53 /src/map/atcommand.c | |
parent | f410f54a758f597819f271bf5b367a67351311fc (diff) | |
download | hercules-d8b857ad9db40f4e6345419c8d3659b7914519e7.tar.gz hercules-d8b857ad9db40f4e6345419c8d3659b7914519e7.tar.bz2 hercules-d8b857ad9db40f4e6345419c8d3659b7914519e7.tar.xz hercules-d8b857ad9db40f4e6345419c8d3659b7914519e7.zip |
update
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@778 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 2d1436cfe..f486db422 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -7139,7 +7139,7 @@ atcommand_skilltree(const int fd, struct map_session_data* sd, tbl, pc_checkskill(pl_sd, 1)); clif_displaymessage(fd, output); - for (j = 0; j < MAX_SKILL; j++) { + for (j = 0; skill_tree[s][c][j].id != 0; j++) { if (skill_tree[s][c][j].id == skillnum) { skillidx = j; break; |