From 9ff5cf6184b9c5183c1f55cfa6c0d08586eb02c9 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 10 Feb 2011 18:07:24 +0000 Subject: Added a local chat channel. The say command defaults to zone chat, global messages can be send with the shout command. Removed NonSolid flag fro race objects, have race use the local chat channel. Updated to network protocol version 22. Updated developer documentation. --- src/client/client.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/client/client.cc') diff --git a/src/client/client.cc b/src/client/client.cc index 97cfc91..5b72146 100644 --- a/src/client/client.cc +++ b/src/client/client.cc @@ -365,10 +365,7 @@ void Client::notify_message(const core::Message::Channel channel, const std::str case core::Message::Info: // Info message break; - - case core::Message::Local: // Chat message in the local zone - break; - + case core::Message::RCon: // RCon message break; @@ -376,6 +373,9 @@ void Client::notify_message(const core::Message::Channel channel, const std::str audio::play("com/chat"); break; + case core::Message::Local: // Local chat message + break; + case core::Message::Private: // Private chat message audio::play("com/priv"); break; -- cgit v1.2.3