Browse Source

- Added another missing prev/next = NULL setting in chat.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6360 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex 19 years ago
parent
commit
2dc08e9bda
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/map/chat.c

+ 1 - 0
src/map/chat.c

@@ -282,6 +282,7 @@ int chat_createnpcchat(struct npc_data *nd,int limit,int pub,int trigger,char* t
 	cd->bl.x = nd->bl.x;
 	cd->bl.x = nd->bl.x;
 	cd->bl.y = nd->bl.y;
 	cd->bl.y = nd->bl.y;
 	cd->bl.type = BL_CHAT;
 	cd->bl.type = BL_CHAT;
+	cd->bl.prev= cd->bl.next = NULL;
 	cd->owner_ = (struct block_list *)nd;
 	cd->owner_ = (struct block_list *)nd;
 	cd->owner = &cd->owner_;
 	cd->owner = &cd->owner_;
 	if (strlen(ev) > 49)
 	if (strlen(ev) > 49)