Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/client.cc')
-rw-r--r--src/client/client.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/client.cc b/src/client/client.cc
index ed31c65..80b983e 100644
--- a/src/client/client.cc
+++ b/src/client/client.cc
@@ -166,5 +166,11 @@ void Client::notify_sound(const char * name)
audio::play(name);
}
+void Client::notify_message(std::string const & message)
+{
+ con_print << message << std::endl;
+ console()->notify(message);
+}
+
} // namespace client