diff options
author | daniel0916 <theschokolps@gmail.com> | 2014-04-13 22:15:10 +0200 |
---|---|---|
committer | daniel0916 <theschokolps@gmail.com> | 2014-04-13 22:15:10 +0200 |
commit | fce9ea65c35ab7f94c23bb361386b5ce223279eb (patch) | |
tree | a9db15d5c27c053bb886482199ffdfb21df7222e /src/UI/SlotArea.cpp | |
parent | Fixed mistake (diff) | |
download | cuberite-fce9ea65c35ab7f94c23bb361386b5ce223279eb.tar cuberite-fce9ea65c35ab7f94c23bb361386b5ce223279eb.tar.gz cuberite-fce9ea65c35ab7f94c23bb361386b5ce223279eb.tar.bz2 cuberite-fce9ea65c35ab7f94c23bb361386b5ce223279eb.tar.lz cuberite-fce9ea65c35ab7f94c23bb361386b5ce223279eb.tar.xz cuberite-fce9ea65c35ab7f94c23bb361386b5ce223279eb.tar.zst cuberite-fce9ea65c35ab7f94c23bb361386b5ce223279eb.zip |
Diffstat (limited to 'src/UI/SlotArea.cpp')
-rw-r--r-- | src/UI/SlotArea.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/UI/SlotArea.cpp b/src/UI/SlotArea.cpp index 352558d9e..35230cffb 100644 --- a/src/UI/SlotArea.cpp +++ b/src/UI/SlotArea.cpp @@ -600,6 +600,8 @@ cCraftingRecipe & cSlotAreaCrafting::GetRecipeForPlayer(cPlayer & a_Player) cSlotAreaEnchanting::cSlotAreaEnchanting(int a_NumSlots, cWindow & a_ParentWindow) : cSlotAreaTemporary(a_NumSlots, a_ParentWindow) { + cEnchantingWindow * Window = (cEnchantingWindow *)&m_ParentWindow; + Window->m_SlotArea = this; } |