summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index a8bedd633..070722866 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -11795,7 +11795,7 @@ int buildin_mobremove(struct script_state *st) {
bl = map_id2bl(id);
if (bl && bl->type == BL_MOB)
- unit_free(bl);
+ unit_free(bl,0);
return 0;
}