summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-09 03:41:13 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-09 03:41:13 +0000
commit5ba9695486983f85847568a3cc204e5ce389af5f (patch)
tree730780cf2907b8ad448b92ac2194023965f46719 /src/map/map.c
parentf9b917239f808dfb7b901905f6c22a4d7e667d0e (diff)
downloadhercules-5ba9695486983f85847568a3cc204e5ce389af5f.tar.gz
hercules-5ba9695486983f85847568a3cc204e5ce389af5f.tar.bz2
hercules-5ba9695486983f85847568a3cc204e5ce389af5f.tar.xz
hercules-5ba9695486983f85847568a3cc204e5ce389af5f.zip
updates
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@521 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 9eb46ed88..11b4a45a8 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -309,7 +309,8 @@ int map_delblock(struct block_list *bl)
if(bl->type==BL_PC)
map[bl->m].users--;
- if(bl->next) bl->next->prev = bl->prev;
+ if(bl->next)
+ bl->next->prev = bl->prev;
if(bl->prev==&bl_head){
// リストの頭なので、map[]のblock_listを更新する
if(bl->type==BL_MOB){