Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-05-18 09:21:20 +0000
committerStijn Buys <ingar@osirion.org>2008-05-18 09:21:20 +0000
commit4a2bad92171ff8a9a248599f47087cfe39e93653 (patch)
treeb8a4fe7f616b3e4f707d89a35fff5e8b5fdcfcc8 /src/core/netconnection.cc
parenta185c11f2397c0296a4b62cc266b4fa00a63c1e2 (diff)
OpenAL support
Diffstat (limited to 'src/core/netconnection.cc')
-rw-r--r--src/core/netconnection.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/netconnection.cc b/src/core/netconnection.cc
index 22614d2..8da8b1b 100644
--- a/src/core/netconnection.cc
+++ b/src/core/netconnection.cc
@@ -283,12 +283,13 @@ void NetConnection::parse_incoming_message(const std::string & message)
if (msgstream >> level) {
if (level =="info") {
if (message.size() > 9) {
- con_print << message.substr(9) << std::endl;
+ application()->notify_message(message.substr(9));
}
} else if (level == "public") {
// FIXME - separate sender nickname
if (message.size() > 11) {
- con_print << message.substr(11) << std::endl;
+ application()->notify_message(message.substr(11));
+ application()->notify_sound("ui/chat.wav");
}
}