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.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/map/status.c b/src/map/status.c
index f5130d13e..95d001008 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -1161,11 +1161,9 @@ int status_calc_mob(struct mob_data* md, int first)
status->flee2 = 0;
//Initial battle status
- if (!first) {
- status_cpy(&md->status, status);
- if (md->sc.count)
- status_calc_bl(&md->bl, SCB_ALL);
- } else
+ if (!first)
+ status_calc_bl(&md->bl, SCB_ALL);
+ else
memcpy(&md->status, status, sizeof(struct status_data));
return 1;
}