summaryrefslogtreecommitdiff
path: root/src/gui/chat.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2004-11-12 15:11:47 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2004-11-12 15:11:47 +0000
commit526f9a301caa29d1922561104de9aea8bc213b65 (patch)
treebc2852547d0b41843375dcf406c00e1ee54117d9 /src/gui/chat.cpp
parent628ac878c21c5150528b969ac151cd2450e2549d (diff)
downloadmana-526f9a301caa29d1922561104de9aea8bc213b65.tar.gz
mana-526f9a301caa29d1922561104de9aea8bc213b65.tar.bz2
mana-526f9a301caa29d1922561104de9aea8bc213b65.tar.xz
mana-526f9a301caa29d1922561104de9aea8bc213b65.zip
NPC lists
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r--src/gui/chat.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp
index 10823e3c..e8cfa4cc 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -184,7 +184,8 @@ char * Chat::chat_send(std::string nick, std::string msg) {
if(msg.substr(0,IS_ANNOUNCE_LENGTH) == IS_ANNOUNCE) {
msg.erase(0,IS_ANNOUNCE_LENGTH);
packid = 0x0099;
- } else {
+ } else if(msg.substr(0,IS_WHERE_LENGTH) == IS_WHERE) {
+ } else {
packid = 0x008c;
}
// prepare ordinary message