summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorDastgir Pojee <dastgirp@gmail.com>2016-10-05 21:29:07 +0530
committerhemagx <ibrahem.h.basyone@gmail.com>2016-10-22 02:26:24 +0200
commitc2f84724b5589c3951ed2740ad411f35563bd9c8 (patch)
tree4a2c47138e5e35785c759a906b2c2c578ea8751b /src/map
parent696cf014fc7e662e32f37bf6ffe4a391961db621 (diff)
downloadhercules-c2f84724b5589c3951ed2740ad411f35563bd9c8.tar.gz
hercules-c2f84724b5589c3951ed2740ad411f35563bd9c8.tar.bz2
hercules-c2f84724b5589c3951ed2740ad411f35563bd9c8.tar.xz
hercules-c2f84724b5589c3951ed2740ad411f35563bd9c8.zip
Fix incorrect coding style used in char/char.c and map/skill.c
Diffstat (limited to 'src/map')
-rw-r--r--src/map/skill.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index b3a060de2..4c57fbc56 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -9549,14 +9549,14 @@ int skill_castend_nodamage_id(struct block_list *src, struct block_list *bl, uin
break;
case SU_HIDE:
- if (tsce) {
- clif->skill_nodamage(src,bl,skill_id,skill_lv,1);
+ if (tsce != NULL) {
+ clif->skill_nodamage(src, bl, skill_id, skill_lv, 1);
status_change_end(bl, type, INVALID_TIMER);
map->freeblock_unlock();
return 0;
}
- clif->skill_nodamage(src,bl,skill_id,skill_lv,1);
- sc_start(src,bl,type,100,skill_lv,skill->get_time(skill_id,skill_lv));
+ clif->skill_nodamage(src, bl, skill_id, skill_lv, 1);
+ sc_start(src, bl, type, 100, skill_lv, skill->get_time(skill_id, skill_lv));
break;
break;