summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 5582a8f67..171481d56 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -2580,8 +2580,8 @@ struct Damage battle_calc_misc_attack(
if (!(nk&NK_IGNORE_FLEE))
{
- i = 0; //Temp for "hit or no hit"
struct status_change *sc = status_get_sc(target);
+ i = 0; //Temp for "hit or no hit"
if(sc && sc->opt1 && sc->opt1 != OPT1_STONEWAIT)
i = 1;
else {