diff options
author | shennetsind <ind@henn.et> | 2013-09-27 12:58:41 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-09-27 12:58:41 -0300 |
commit | 4a6a25f6675bd11666b235b97d59f5035a249295 (patch) | |
tree | 9e2ae3c4492aec5d8204a4c32b7054225f347bc6 /src/map/chrif.c | |
parent | 605fe9775beff1fb0e3df68b2df886d4e5b54a2d (diff) | |
download | hercules-4a6a25f6675bd11666b235b97d59f5035a249295.tar.gz hercules-4a6a25f6675bd11666b235b97d59f5035a249295.tar.bz2 hercules-4a6a25f6675bd11666b235b97d59f5035a249295.tar.xz hercules-4a6a25f6675bd11666b235b97d59f5035a249295.zip |
HPM: Skill.c Completed
Moved missing vars and declarations of interest into the interface.
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r-- | src/map/chrif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c index cc0797596..be14a08c9 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -1383,8 +1383,8 @@ void chrif_skillid2idx(int fd) { WFIFOHEAD(fd,4 + (MAX_SKILL * 4)); WFIFOW(fd,0) = 0x2b0b; for(i = 0; i < MAX_SKILL; i++) { - if( skill_db[i].nameid ) { - WFIFOW(fd, 4 + (count*4)) = skill_db[i].nameid; + if( skill->db[i].nameid ) { + WFIFOW(fd, 4 + (count*4)) = skill->db[i].nameid; WFIFOW(fd, 6 + (count*4)) = i; count++; } |