Skip to content

Commit

Permalink
Revert "Decrease the map npc counter when a npc is deleted"
Browse files Browse the repository at this point in the history
This reverts commit 4a69f1b.
  • Loading branch information
gumi committed Nov 27, 2016
1 parent f01be24 commit 872a913
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/map/map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,6 @@ 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--;

Expand Down

0 comments on commit 872a913

Please sign in to comment.