summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-30 13:26:34 +0300
committerAndrei Karas <akaras@inbox.ru>2015-07-12 13:39:11 +0300
commit245cab6b53ef3062608546a6fdb79af23f4e9780 (patch)
treedcd91e1ae53bf0dfec7462a812d40b03e6037907 /src/map/status.c
parent48bbaaab4f73b0eb4416898bed286bcb5393f9ec (diff)
downloadhercules-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.c2
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