1
0

Removed the obsolete SendWholeInventory(cInventory &) function.

This won't compile because there's still a change in Protocol17x.cpp pending; the next commit will fix this.
This commit is contained in:
madmaxoft
2013-11-05 18:36:58 +01:00
parent e65ce13012
commit 88472b7ce6
10 changed files with 2 additions and 46 deletions

View File

@@ -255,8 +255,8 @@ void cClientHandle::Authenticate(void)
// Send time
m_Protocol->SendTimeUpdate(World->GetWorldAge(), World->GetTimeOfDay());
// Send inventory
m_Player->GetInventory().SendWholeInventory(*this);
// Send contents of the inventory window
m_Protocol->SendWholeInventory(*m_Player->GetWindow());
// Send health
m_Player->SendHealth();
@@ -2004,15 +2004,6 @@ void cClientHandle::SendWeather(eWeather a_Weather)
void cClientHandle::SendWholeInventory(const cInventory & a_Inventory)
{
m_Protocol->SendWholeInventory(a_Inventory);
}
void cClientHandle::SendWholeInventory(const cWindow & a_Window)
{
m_Protocol->SendWholeInventory(a_Window);