diff options
Diffstat (limited to 'src/map/map.cpp')
-rw-r--r-- | src/map/map.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/map.cpp b/src/map/map.cpp index e7b0da8..08d5ceb 100644 --- a/src/map/map.cpp +++ b/src/map/map.cpp @@ -208,6 +208,9 @@ int map_delblock(dumb_ptr<block_list> bl) return 0; } + if (bl->bl_type == BL::NPC) + bl->bl_m->npc_num--; + if (bl->bl_type == BL::PC) bl->bl_m->users--; |