summaryrefslogtreecommitdiffstats
path: root/source/ProtocolRecognizer.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-11 14:01:34 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-11 14:01:34 +0200
commit9eed83c33ae8c2bbb1781a01f05326dba667f4e3 (patch)
tree339ae563c07ba06b55a7f127dbd8c52f83e4dd66 /source/ProtocolRecognizer.cpp
parentCore's Web Chat should work on FireFox again. Apparently it appends "charset=utf-8" to the content type which was not properly handled. (diff)
downloadcuberite-9eed83c33ae8c2bbb1781a01f05326dba667f4e3.tar
cuberite-9eed83c33ae8c2bbb1781a01f05326dba667f4e3.tar.gz
cuberite-9eed83c33ae8c2bbb1781a01f05326dba667f4e3.tar.bz2
cuberite-9eed83c33ae8c2bbb1781a01f05326dba667f4e3.tar.lz
cuberite-9eed83c33ae8c2bbb1781a01f05326dba667f4e3.tar.xz
cuberite-9eed83c33ae8c2bbb1781a01f05326dba667f4e3.tar.zst
cuberite-9eed83c33ae8c2bbb1781a01f05326dba667f4e3.zip
Diffstat (limited to '')
-rw-r--r--source/ProtocolRecognizer.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/ProtocolRecognizer.cpp b/source/ProtocolRecognizer.cpp
index 669598923..31f74e608 100644
--- a/source/ProtocolRecognizer.cpp
+++ b/source/ProtocolRecognizer.cpp
@@ -347,6 +347,14 @@ void cProtocolRecognizer::SendRespawn(void)
+void cProtocolRecognizer::SendSoundEffect(const AString & a_SoundName, int a_SrcX, int a_SrcY, int a_SrcZ, float a_Volume, float a_Pitch) {
+ ASSERT(m_Protocol != NULL);
+ m_Protocol->SendSoundEffect(a_SoundName, a_SrcX, a_SrcY, a_SrcZ, a_Volume, a_Pitch);
+}
+
+
+
+
void cProtocolRecognizer::SendSpawnMob(const cMonster & a_Mob)
{