summaryrefslogtreecommitdiff
path: root/src/map/chat.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-24 01:16:33 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-24 01:16:33 +0000
commit9694f77616b2f127bcde59d49cc7e3cad832d0b3 (patch)
treefad4e5b61e2492cd5988c79d686f9812812d600a /src/map/chat.c
parentc2697bf53b8f72db25c8a7aa03c2297b17cf7bc5 (diff)
downloadhercules-9694f77616b2f127bcde59d49cc7e3cad832d0b3.tar.gz
hercules-9694f77616b2f127bcde59d49cc7e3cad832d0b3.tar.bz2
hercules-9694f77616b2f127bcde59d49cc7e3cad832d0b3.tar.xz
hercules-9694f77616b2f127bcde59d49cc7e3cad832d0b3.zip
- Player-summoned mobs won't level up now.
- Fixed Super Novice explosion spirits triggering no matter what you said on the third line. It now triggers on the fourth line.... - Fixed GTB blocking targetted spells when gtb_pvp_only was set. - Merged the code of Ankle snare and Spider web. It no longer moves target if sc failed. - Players should stop walking as soon as they start vending or get into a chat. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5382 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chat.c')
-rw-r--r--src/map/chat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/chat.c b/src/map/chat.c
index 821cd0858..3ea00e2ab 100644
--- a/src/map/chat.c
+++ b/src/map/chat.c
@@ -27,7 +27,7 @@ int chat_createchat(struct map_session_data *sd,int limit,int pub,char* pass,cha
if (sd->chatID)
return 0; //Prevent people abusing the chat system by creating multiple chats, as pointed out by End of Exam. [Skotlex]
-
+ pc_stop_walking(sd,1);
cd = (struct chat_data *) aCalloc(1,sizeof(struct chat_data));
cd->limit = limit;
@@ -87,6 +87,7 @@ int chat_joinchat (struct map_session_data *sd, int chatid, char* pass)
return 0;
}
+ pc_stop_walking(sd,1);
cd->usersd[cd->users] = sd;
cd->users++;