summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-08-04 22:22:40 -0600
committerJared Adams <jaxad0127@gmail.com>2010-08-05 01:04:58 -0600
commitdd1463241c00f38de5855b9e9869b773f683373f (patch)
treea5ceea8ccfded6f48214021bc7481a98b81abebc /src/localplayer.cpp
parent154ea41225505eee0c77652a04738d845a2e93cd (diff)
downloadmana-client-dd1463241c00f38de5855b9e9869b773f683373f.tar.gz
mana-client-dd1463241c00f38de5855b9e9869b773f683373f.tar.bz2
mana-client-dd1463241c00f38de5855b9e9869b773f683373f.tar.xz
mana-client-dd1463241c00f38de5855b9e9869b773f683373f.zip
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
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp2
1 files changed, 2 insertions, 0 deletions
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()