summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorDastgir <dastgirpojee@rocketmail.com>2015-07-20 18:26:25 +0530
committerDastgir <dastgirpojee@rocketmail.com>2015-07-20 18:26:25 +0530
commit4cf80b1e5f29c7973576863e0c4eee809e561702 (patch)
tree46933e0bcff309b6457547fd8b56298281a9c338 /src/map/status.c
parenta7c771a064f5beb5c7f5f3c09a4ad744ac7c7ef5 (diff)
parent5aaf2707e25b8fa369bf37da1d51d0a0ee203473 (diff)
downloadhercules-4cf80b1e5f29c7973576863e0c4eee809e561702.tar.gz
hercules-4cf80b1e5f29c7973576863e0c4eee809e561702.tar.bz2
hercules-4cf80b1e5f29c7973576863e0c4eee809e561702.tar.xz
hercules-4cf80b1e5f29c7973576863e0c4eee809e561702.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
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