summaryrefslogtreecommitdiffstats
path: root/source/UI/Window.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);
}