diff options
author | Haruna <haru@dotalux.com> | 2015-07-15 14:08:59 +0200 |
---|---|---|
committer | Haruna <haru@dotalux.com> | 2015-07-15 14:08:59 +0200 |
commit | 9a2f6e96f54ed1c3931bc441ed31da51bf785fdb (patch) | |
tree | deb6150d689b5f4bc0e8fe0e241183d2f6ac1cdc /src/map/status.c | |
parent | ebfc9c3f8d740414b13fff86bad44d077d7ae81e (diff) | |
parent | 245cab6b53ef3062608546a6fdb79af23f4e9780 (diff) | |
download | hercules-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/status.c')
-rw-r--r-- | src/map/status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index dc4813055..d88bcf146 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -5145,7 +5145,7 @@ signed short status_calc_mdef2(struct block_list *bl, struct status_change *sc, if(sc->data[SC_MINDBREAKER]) mdef2 -= mdef2 * sc->data[SC_MINDBREAKER]->val3/100; #ifdef RENEWAL - if(sc && sc->data[SC_ASSUMPTIO]) + if (sc->data[SC_ASSUMPTIO]) mdef2 <<= 1; return (short)cap_value(mdef2,SHRT_MIN,SHRT_MAX); #else |