summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-30 16:02:55 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-30 16:02:55 +0000
commitf17c3bc02c9e82147fb471132940e84d227ec4bc (patch)
treec7623d4aefa26cb8ae461b63c1efed99d8c99adf /src/map/unit.c
parentfa2020be43ddc026460896a3bb8b1d0f425265b2 (diff)
downloadhercules-f17c3bc02c9e82147fb471132940e84d227ec4bc.tar.gz
hercules-f17c3bc02c9e82147fb471132940e84d227ec4bc.tar.bz2
hercules-f17c3bc02c9e82147fb471132940e84d227ec4bc.tar.xz
hercules-f17c3bc02c9e82147fb471132940e84d227ec4bc.zip
- Removed trailing tabs, and fixed some spacing.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15524 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 950ffc983..c27bde544 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -368,7 +368,7 @@ static int unit_walktobl_sub(int tid, unsigned int tick, int id, intptr_t data)
set_mobstate(bl, ud->state.attack_continue);
}
}
- return 0;
+ return 0;
}
// Chases a tbl. If the flag&1, use hard-path seek,
@@ -1019,7 +1019,7 @@ int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, sh
ud = unit_bl2ud(src);
if(ud == NULL) return 0;
- sc = status_get_sc(src);
+ sc = status_get_sc(src);
if (sc && !sc->count)
sc = NULL; //Unneeded
@@ -1214,7 +1214,7 @@ int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, sh
if( k > 2 ) k = 2; // ...but hard-limited to 300%.
casttime += casttime * k;
}
- break;
+ break;
case GD_EMERGENCYCALL: //Emergency Call double cast when the user has learned Leap [Daegaladh]
if( sd && pc_checkskill(sd,TK_HIGHJUMP) )
casttime *= 2;
@@ -1885,7 +1885,7 @@ static int unit_counttargeted_sub(struct block_list* bl, va_list ap)
if (ud && ud->target == id && ud->attacktimer != INVALID_TIMER && ud->attacktarget_lv >= target_lv)
return 1;
- return 0;
+ return 0;
}
/*==========================================