From dd1463241c00f38de5855b9e9869b773f683373f Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Wed, 4 Aug 2010 22:22:40 -0600 Subject: Have Being manage speech creation and add permissions to events The Being and Player Chat events now have the precomuted permissions for SPEECH_LOG and SPEECH_FLOAT. The Being class now acts on those events to show speech (if SPEECH_FLOAT is present). ChatWindow now checks for the SPEECH_LOG permission. Reviewed-by: Freeyorp --- src/localplayer.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/localplayer.cpp') diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 7034cf31..53648725 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -1109,6 +1109,8 @@ void LocalPlayer::event(const std::string &channel, const Mana::Event &event) } } } + else + Being::event(channel, event); } void LocalPlayer::changeAwayMode() -- cgit v1.2.3-70-g09d2