summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-30 20:17:55 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-30 20:17:55 +0000
commit9fbf9932e874845247f285e5c1c4f6c15b4cea58 (patch)
tree47939b089708ffc221cc819177f3632e5cdaa543 /src/map/unit.c
parentc6e18085940a91c2656bc6bfeb795693b1fbb3c4 (diff)
downloadhercules-9fbf9932e874845247f285e5c1c4f6c15b4cea58.tar.gz
hercules-9fbf9932e874845247f285e5c1c4f6c15b4cea58.tar.bz2
hercules-9fbf9932e874845247f285e5c1c4f6c15b4cea58.tar.xz
hercules-9fbf9932e874845247f285e5c1c4f6c15b4cea58.zip
- Removed more trailing tabs.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15527 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index c27bde544..9161c61d1 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -829,7 +829,7 @@ int unit_stop_walking(struct block_list *bl,int type)
tick = gettick();
if( (type&0x02 && !ud->walkpath.path_pos) //Force moving at least one cell.
|| (type&0x04 && td && DIFF_TICK(td->tick, tick) <= td->data/2) //Enough time has passed to cover half-cell
- ) {
+ ) {
ud->walkpath.path_len = ud->walkpath.path_pos+1;
unit_walktoxy_timer(INVALID_TIMER, tick, bl->id, ud->walkpath.path_pos);
}
@@ -1176,7 +1176,7 @@ int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, sh
switch(skill_num){
case ALL_RESURRECTION:
- if(battle_check_undead(tstatus->race,tstatus->def_ele)) {
+ if(battle_check_undead(tstatus->race,tstatus->def_ele)) {
temp = 1;
} else if (!status_isdead(target))
return 0; //Can't cast on non-dead characters.
@@ -1220,7 +1220,7 @@ int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, sh
casttime *= 2;
break;
}
-
+
// moved here to prevent Suffragium from ending if skill fails
if (!(skill_get_castnodex(skill_num, skill_lv)&2))
casttime = skill_castfix_sc(src, casttime, skill_num, skill_lv);