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/status.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/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 |