summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-02 15:54:27 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-02 15:54:27 +0000
commitd918805022383bbf9c63f82c700f88e443ff7cd2 (patch)
tree41ac155389f08738d15bf786cd36bacce3b7cc56 /src/map/unit.c
parent64d039f074c942a4265345e7ff832b4938d6381a (diff)
downloadhercules-d918805022383bbf9c63f82c700f88e443ff7cd2.tar.gz
hercules-d918805022383bbf9c63f82c700f88e443ff7cd2.tar.bz2
hercules-d918805022383bbf9c63f82c700f88e443ff7cd2.tar.xz
hercules-d918805022383bbf9c63f82c700f88e443ff7cd2.zip
Removed some long-unneccessary debug messages (from r1105).
Removed function skill_count_target() because it's a duplicate (see topic:169337). Renamed skill_get_pl to skill_get_ele (because it retrieves element ids). The block_list structure now uses the BL_ enums instead of 'unsigned char'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11640 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 3f5d1673a..6fd7ce871 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -995,7 +995,7 @@ int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, sh
if( casttime>0 || temp){
- clif_skillcasting(src, src->id, target_id, 0,0, skill_num, skill_get_pl(skill_num, skill_lv), casttime);
+ clif_skillcasting(src, src->id, target_id, 0,0, skill_num, skill_get_ele(skill_num, skill_lv), casttime);
if (sd && target->type == BL_MOB)
{
@@ -1131,7 +1131,7 @@ int unit_skilluse_pos2( struct block_list *src, short skill_x, short skill_y, sh
if( casttime>0 ) {
unit_stop_walking( src, 1);
- clif_skillcasting(src, src->id, 0, skill_x, skill_y, skill_num, skill_get_pl(skill_num, skill_lv), casttime);
+ clif_skillcasting(src, src->id, 0, skill_x, skill_y, skill_num, skill_get_ele(skill_num, skill_lv), casttime);
} else
ud->state.skillcastcancel=0;