Skip to content
Permalink
Browse files
Follow up to e02e85b
Fixes #3721

Thanks to @teededung
  • Loading branch information
Lemongrass3110 committed Dec 1, 2018
1 parent 9dbd3cb commit 40a4edc4f8fff75ba35b969882edabd17dd4c258
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/map/battle.cpp
@@ -6847,7 +6847,7 @@ int64 battle_calc_return_damage(struct block_list* bl, struct block_list *src, i
sc = status_get_sc(bl);
ssc = status_get_sc(src);

if (sc->data[SC_WHITEIMPRISON])
if (sc && sc->data[SC_WHITEIMPRISON])
return 0; // White Imprison does not reflect any damage

if (flag & BF_SHORT) {//Bounces back part of the damage.

0 comments on commit 40a4edc

Please sign in to comment.