From 872a913d2d3958f4010119b037b8b32cdc67566f Mon Sep 17 00:00:00 2001 From: gumi Date: Sun, 27 Nov 2016 13:30:40 -0500 Subject: Revert "Decrease the map npc counter when a npc is deleted" This reverts commit 4a69f1b47d4bd74b988b4d4fe66fd43a26aae123. --- src/map/map.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/map/map.cpp b/src/map/map.cpp index 08d5ceb..e7b0da8 100644 --- a/src/map/map.cpp +++ b/src/map/map.cpp @@ -208,9 +208,6 @@ int map_delblock(dumb_ptr bl) return 0; } - if (bl->bl_type == BL::NPC) - bl->bl_m->npc_num--; - if (bl->bl_type == BL::PC) bl->bl_m->users--; -- cgit v1.2.3-60-g2f50