summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-05 16:06:30 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-05 16:06:30 +0000
commitb0588f94abf44afd9079c4af40a5ffc1603d5ef8 (patch)
tree132ff4d519e36848d04fb6ac74a3d71c58d2c9c3 /src/map/clif.c
parent04e43423d0aef8009087f92ed557371f5981b471 (diff)
downloadhercules-b0588f94abf44afd9079c4af40a5ffc1603d5ef8.tar.gz
hercules-b0588f94abf44afd9079c4af40a5ffc1603d5ef8.tar.bz2
hercules-b0588f94abf44afd9079c4af40a5ffc1603d5ef8.tar.xz
hercules-b0588f94abf44afd9079c4af40a5ffc1603d5ef8.zip
- Fixed a pair of missing map_freeblock_unlock
- Changed around a bit the code of the skill_get defines to return 0 if you ask for an id of the place where the guild skills are placed. Also moved the guild skills block to ID 900~915. Also stuff like skill_get_inf will return the relevant guild data as defined on skill_db.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5465 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 8042e5743..cba560a30 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -2062,7 +2062,7 @@ int clif_walkok(struct map_session_data *sd)
nullpo_retr(0, sd);
fd=sd->fd;
- WFIFOHEAD(fd, packet_len_table[0x87]);
+ WFIFOHEAD(fd, packet_len_table[0x87]);
WFIFOW(fd,0)=0x87;
WFIFOL(fd,2)=gettick();
WFIFOPOS2(fd,6,sd->bl.x,sd->bl.y,sd->to_x,sd->to_y);
@@ -7613,13 +7613,13 @@ int clif_guild_skillinfo(struct map_session_data *sd)
g=guild_search(sd->status.guild_id);
if(g==NULL)
return 0;
- WFIFOHEAD(fd, MAX_GUILDSKILL * 37 + 6);
+ WFIFOHEAD(fd, MAX_GUILDSKILL * 37 + 6);
WFIFOW(fd,0)=0x0162;
WFIFOW(fd,4)=g->skill_point;
for(i=c=0;i<MAX_GUILDSKILL;i++){
if(g->skill[i].id>0 && guild_check_skill_require(g,g->skill[i].id)){
WFIFOW(fd,c*37+ 6) = id = g->skill[i].id;
- WFIFOW(fd,c*37+ 8) = guild_skill_get_inf(id);
+ WFIFOW(fd,c*37+ 8) = skill_get_inf(id);
WFIFOW(fd,c*37+10) = 0;
WFIFOW(fd,c*37+12) = g->skill[i].lv;
WFIFOW(fd,c*37+14) = skill_get_sp(id,g->skill[i].lv);