1
0

Removed some unneeded BroadcastWholeWindow()s

This commit is contained in:
Tiger Wang
2014-02-12 22:06:13 +00:00
parent f97ce30151
commit e915a0df4c
4 changed files with 2 additions and 23 deletions

View File

@@ -99,13 +99,6 @@ void cDropSpenserEntity::DropSpense(cChunk & a_Chunk)
}
m_World->BroadcastSoundParticleEffect(2000, m_PosX, m_PosY, m_PosZ, SmokeDir);
m_World->BroadcastSoundEffect("random.click", m_PosX * 8, m_PosY * 8, m_PosZ * 8, 1.0f, 1.0f);
// Update the UI window, if open:
cWindow * Window = GetWindow();
if (Window != NULL)
{
Window->BroadcastWholeWindow();
}
}