summaryrefslogtreecommitdiffstats
path: root/source/UI/Window.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-11-08 21:32:14 +0100
committermadmaxoft <github@xoft.cz>2013-11-08 21:32:14 +0100
commit07fa8313b184e2a9d7666cf6f7b10d5def8dc928 (patch)
tree386d2e6ef3a5251e4ab2972b6620e5092a0ae546 /source/UI/Window.cpp
parentFixed code style. (diff)
downloadcuberite-07fa8313b184e2a9d7666cf6f7b10d5def8dc928.tar
cuberite-07fa8313b184e2a9d7666cf6f7b10d5def8dc928.tar.gz
cuberite-07fa8313b184e2a9d7666cf6f7b10d5def8dc928.tar.bz2
cuberite-07fa8313b184e2a9d7666cf6f7b10d5def8dc928.tar.lz
cuberite-07fa8313b184e2a9d7666cf6f7b10d5def8dc928.tar.xz
cuberite-07fa8313b184e2a9d7666cf6f7b10d5def8dc928.tar.zst
cuberite-07fa8313b184e2a9d7666cf6f7b10d5def8dc928.zip
Diffstat (limited to 'source/UI/Window.cpp')
-rw-r--r--source/UI/Window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/UI/Window.cpp b/source/UI/Window.cpp
index 1318cbca8..1f023cb03 100644
--- a/source/UI/Window.cpp
+++ b/source/UI/Window.cpp
@@ -245,7 +245,7 @@ void cWindow::OpenedByPlayer(cPlayer & a_Player)
} // for itr - m_SlotAreas[]
}
- a_Player.GetClientHandle()->SendWindowOpen(m_WindowID, m_WindowType, m_WindowTitle, GetNumSlots() - c_NumInventorySlots);
+ a_Player.GetClientHandle()->SendWindowOpen(*this);
}