From 674fe1e955f729e8328772313c45fe76857ec835 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 19 Aug 2012 21:14:45 +0000 Subject: 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 --- source/cWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/cWindow.cpp') diff --git a/source/cWindow.cpp b/source/cWindow.cpp index 2c4534742..5278122d5 100644 --- a/source/cWindow.cpp +++ b/source/cWindow.cpp @@ -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[] } -- cgit v1.2.3