summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/npc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 17a8b9414..9573c1c6f 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -3016,7 +3016,7 @@ void npc_add_to_location(struct npc_data *nd)
{
nullpo_retv(nd);
- if (nd->bl.m > 0) {
+ if (nd->bl.m >= 0) {
map->addnpc(nd->bl.m, nd);
npc->setcells(nd);
map->addblock(&nd->bl);