diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-04-04 13:47:31 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-04-04 13:47:31 +0200 |
commit | 4aed49a70fe2e4fa3600b31525766c52bff52e3d (patch) | |
tree | d17c4a960f4fea8c4020c0b5b6eba1d951fe25da /source/ClientHandle.cpp | |
parent | Fixed CreateHexDump() filling the string with garbage (diff) | |
download | cuberite-4aed49a70fe2e4fa3600b31525766c52bff52e3d.tar cuberite-4aed49a70fe2e4fa3600b31525766c52bff52e3d.tar.gz cuberite-4aed49a70fe2e4fa3600b31525766c52bff52e3d.tar.bz2 cuberite-4aed49a70fe2e4fa3600b31525766c52bff52e3d.tar.lz cuberite-4aed49a70fe2e4fa3600b31525766c52bff52e3d.tar.xz cuberite-4aed49a70fe2e4fa3600b31525766c52bff52e3d.tar.zst cuberite-4aed49a70fe2e4fa3600b31525766c52bff52e3d.zip |
Diffstat (limited to 'source/ClientHandle.cpp')
-rw-r--r-- | source/ClientHandle.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/ClientHandle.cpp b/source/ClientHandle.cpp index e6cc146c1..c1b696630 100644 --- a/source/ClientHandle.cpp +++ b/source/ClientHandle.cpp @@ -1359,18 +1359,18 @@ void cClientHandle::SendEntityEquipment(const cEntity & a_Entity, short a_SlotNu -void cClientHandle::SendWindowOpen(char a_WindowID, char a_WindowType, const AString & a_WindowTitle, char a_NumSlots) +void cClientHandle::SendWindowClose(const cWindow & a_Window) { - m_Protocol->SendWindowOpen(a_WindowID, a_WindowType, a_WindowTitle, a_NumSlots); + m_Protocol->SendWindowClose(a_Window); } -void cClientHandle::SendWindowClose(char a_WindowID) +void cClientHandle::SendWindowOpen(char a_WindowID, char a_WindowType, const AString & a_WindowTitle, char a_NumSlots) { - m_Protocol->SendWindowClose(a_WindowID); + m_Protocol->SendWindowOpen(a_WindowID, a_WindowType, a_WindowTitle, a_NumSlots); } |