Window, Chest, Furnace and Pawn are not using cPackets at all
git-svn-id: http://mc-server.googlecode.com/svn/trunk@762 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -360,12 +360,12 @@ void cWindow::BroadcastWholeWindow(void)
|
||||
|
||||
|
||||
|
||||
void cWindow::Broadcast(const cPacket & a_Packet)
|
||||
void cWindow::BroadcastInventoryProgress(short a_Progressbar, short a_Value)
|
||||
{
|
||||
cCSLock Lock(m_CS);
|
||||
for (cPlayerList::iterator itr = m_OpenedBy.begin(); itr != m_OpenedBy.end(); ++itr)
|
||||
{
|
||||
(*itr)->GetClientHandle()->Send(a_Packet);
|
||||
(*itr)->GetClientHandle()->SendInventoryProgress(m_WindowID, a_Progressbar, a_Value);
|
||||
} // for itr - m_OpenedBy[]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user