Explorar o código

- 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 %!s(int64=19) %!d(string=hai) anos
pai
achega
2dc08e9bda
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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.y = nd->bl.y;
 	cd->bl.type = BL_CHAT;
+	cd->bl.prev= cd->bl.next = NULL;
 	cd->owner_ = (struct block_list *)nd;
 	cd->owner = &cd->owner_;
 	if (strlen(ev) > 49)