summaryrefslogtreecommitdiffstats
path: root/src/Window.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.cpp b/src/Window.cpp
index f3ad6d5..37d9c74 100644
--- a/src/Window.cpp
+++ b/src/Window.cpp
@@ -7,7 +7,7 @@ void Window::MakeClick(short ClickedSlot, bool Lmb, bool dropMode) {
std::swap(slots[ClickedSlot], handSlot);
transactions.push_back(std::make_pair(actions, std::make_pair(ClickedSlot, -1)));
} else {
- PacketClickWindow packet(WindowId, ClickedSlot, Lmb ? 0 : 1, actions++, 0, SlotData());
+ PacketClickWindow packet(WindowId, ClickedSlot, Lmb ? 0 : 1, actions++, 0, SlotDataType());
this->pendingTransactions.push(packet);
transactions.push_back(std::make_pair(actions, std::make_pair(ClickedSlot, -1)));
}