summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2015-07-15 14:08:59 +0200
committerHaruna <haru@dotalux.com>2015-07-15 14:08:59 +0200
commit9a2f6e96f54ed1c3931bc441ed31da51bf785fdb (patch)
treedeb6150d689b5f4bc0e8fe0e241183d2f6ac1cdc /src/map/skill.c
parentebfc9c3f8d740414b13fff86bad44d077d7ae81e (diff)
parent245cab6b53ef3062608546a6fdb79af23f4e9780 (diff)
downloadhercules-9a2f6e96f54ed1c3931bc441ed31da51bf785fdb.tar.gz
hercules-9a2f6e96f54ed1c3931bc441ed31da51bf785fdb.tar.bz2
hercules-9a2f6e96f54ed1c3931bc441ed31da51bf785fdb.tar.xz
hercules-9a2f6e96f54ed1c3931bc441ed31da51bf785fdb.zip
Merge pull request #564 from 4144/checks
Add missing check to login and char server and remove useless checks from char and map servers
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 13cdeede3..3a69bf380 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -2714,7 +2714,7 @@ int skill_attack(int attack_type, struct block_list* src, struct block_list *dsr
}
/* monsters with skill lv higher than MAX_SKILL_LEVEL may get this value beyond the max depending on conditions, we cap to the system's limit */
- if( dsrc && dsrc->type == BL_MOB && skill_lv > MAX_SKILL_LEVEL && dmg.blewcount > 25 )
+ if (dsrc->type == BL_MOB && skill_lv > MAX_SKILL_LEVEL && dmg.blewcount > 25)
dmg.blewcount = 25;
//blown-specific handling