summaryrefslogtreecommitdiffstats
path: root/src/Window.cpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-03 17:47:11 +0100
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-13 03:39:33 +0100
commitbdc3f4a198c3f047389b159e67f7e6131e053ea6 (patch)
treec0f473147116e4ba0fed8cfb5f9780982b5a3c8c /src/Window.cpp
parentFixed CMake error (diff)
downloadAltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar
AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.gz
AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.bz2
AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.lz
AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.xz
AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.zst
AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.zip
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)));
}