summaryrefslogtreecommitdiff
path: root/src/map/chat.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-29 07:30:19 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-29 07:30:19 +0000
commitc8b1b09166e76fd4edcfa6787b29e4fb37371476 (patch)
tree5b78dea881ec375f8c3de4bbde066e450a5566e3 /src/map/chat.c
parent9aa84dcd148be7aefe0d66075ca6ff4907f60952 (diff)
downloadhercules-c8b1b09166e76fd4edcfa6787b29e4fb37371476.tar.gz
hercules-c8b1b09166e76fd4edcfa6787b29e4fb37371476.tar.bz2
hercules-c8b1b09166e76fd4edcfa6787b29e4fb37371476.tar.xz
hercules-c8b1b09166e76fd4edcfa6787b29e4fb37371476.zip
- Added support for packet 0x229 (clif_changeoption).
- Bumped up PACKETVER to 7 to enable use of packets 0x229 and 0x22c - Small cleanup on the calculation in the skill tree regarding spirit skills. - Added missing next/prev initialization in chat-creation. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6359 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chat.c')
-rw-r--r--src/map/chat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/chat.c b/src/map/chat.c
index 0936b48ac..0e438cedf 100644
--- a/src/map/chat.c
+++ b/src/map/chat.c
@@ -45,7 +45,7 @@ int chat_createchat(struct map_session_data *sd,int limit,int pub,char* pass,cha
cd->bl.x = sd->bl.x;
cd->bl.y = sd->bl.y;
cd->bl.type = BL_CHAT;
-
+ cd->bl.next = cd->bl.prev = NULL;
cd->bl.id = map_addobject(&cd->bl);
if(cd->bl.id==0){
clif_createchat(sd,1);