diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-30 13:26:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-07-12 13:39:11 +0300 |
commit | 245cab6b53ef3062608546a6fdb79af23f4e9780 (patch) | |
tree | dcd91e1ae53bf0dfec7462a812d40b03e6037907 /src/map/skill.c | |
parent | 48bbaaab4f73b0eb4416898bed286bcb5393f9ec (diff) | |
download | hercules-245cab6b53ef3062608546a6fdb79af23f4e9780.tar.gz hercules-245cab6b53ef3062608546a6fdb79af23f4e9780.tar.bz2 hercules-245cab6b53ef3062608546a6fdb79af23f4e9780.tar.xz hercules-245cab6b53ef3062608546a6fdb79af23f4e9780.zip |
Remove useless checks from map server.
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 2 |
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 |