summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-27 21:46:15 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-27 21:46:15 +0000
commita5d02326f3402788e9b9fabf74924adad2d6d724 (patch)
tree4f09eb8a608025f0b553dc58379293a0106e0803 /src/map/clif.c
parentc19b8831b8134d9e8f000d8d5ee18ebaa2164fea (diff)
downloadhercules-a5d02326f3402788e9b9fabf74924adad2d6d724.tar.gz
hercules-a5d02326f3402788e9b9fabf74924adad2d6d724.tar.bz2
hercules-a5d02326f3402788e9b9fabf74924adad2d6d724.tar.xz
hercules-a5d02326f3402788e9b9fabf74924adad2d6d724.zip
- Changed a bit the Moonlit code to prevent an infinite loop
- Changed clif_skillcasting definition to take as argument the element of the skill. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10083 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 4b39e07af..5d4bcc457 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -4219,9 +4219,8 @@ int clif_skillup(struct map_session_data *sd,int skill_num)
*------------------------------------------
*/
int clif_skillcasting(struct block_list* bl,
- int src_id,int dst_id,int dst_x,int dst_y,int skill_num,int casttime)
+ int src_id,int dst_id,int dst_x,int dst_y,int skill_num,int pl, int casttime)
{
- int pl = skill_get_pl(skill_num, 1); //TODO: Need Skill level here :/
unsigned char buf[32];
WBUFW(buf,0) = 0x13e;
WBUFL(buf,2) = src_id;