summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
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 65fcf8f12..9a95776dd 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -4444,7 +4444,7 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
//Check rate
if (!(flag&(1|4))) {
- int def = flag&(2|8)?status_get_sc_def(bl, type):0;
+ int def = status_get_sc_def(bl, type);
if (def && !(flag&8))
rate -= rate*def/10000;