1
0

Add Exp Bottle Effects

This commit is contained in:
Howaner
2014-02-14 22:49:23 +01:00
parent 507a8a4b84
commit f3bd288f02
4 changed files with 23 additions and 1 deletions

View File

@@ -1059,6 +1059,15 @@ void cPlayer::CloseWindowIfID(char a_WindowID, bool a_CanRefuse)
void cPlayer::PlaySoundEffect(const AString & a_SoundName, float a_Volume, float a_Pitch)
{
m_ClientHandle->SendSoundEffect(a_SoundName, (int) (GetPosX() * 8.0), (int) (GetPosY() * 8.0), (int) (GetPosZ() * 8.0), a_Volume, a_Pitch);
}
void cPlayer::SetLastBlockActionTime()
{
if (m_World != NULL)