summaryrefslogtreecommitdiffstats
path: root/source/cCraftingWindow.cpp
diff options
context:
space:
mode:
authorlapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-12-25 14:44:22 +0100
committerlapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-12-25 14:44:22 +0100
commitd0a7f9a57d734ce99da262fdf7dd206351fa8ac3 (patch)
tree0a1314457d6fb3d097b6bd08ce2135c86b0f94df /source/cCraftingWindow.cpp
parentThe missing file! cChunkGenerator.h/cpp (diff)
downloadcuberite-d0a7f9a57d734ce99da262fdf7dd206351fa8ac3.tar
cuberite-d0a7f9a57d734ce99da262fdf7dd206351fa8ac3.tar.gz
cuberite-d0a7f9a57d734ce99da262fdf7dd206351fa8ac3.tar.bz2
cuberite-d0a7f9a57d734ce99da262fdf7dd206351fa8ac3.tar.lz
cuberite-d0a7f9a57d734ce99da262fdf7dd206351fa8ac3.tar.xz
cuberite-d0a7f9a57d734ce99da262fdf7dd206351fa8ac3.tar.zst
cuberite-d0a7f9a57d734ce99da262fdf7dd206351fa8ac3.zip
Diffstat (limited to 'source/cCraftingWindow.cpp')
-rw-r--r--source/cCraftingWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cCraftingWindow.cpp b/source/cCraftingWindow.cpp
index 9e81b8ebe..ed82223df 100644
--- a/source/cCraftingWindow.cpp
+++ b/source/cCraftingWindow.cpp
@@ -15,7 +15,7 @@ cCraftingWindow::cCraftingWindow( cWindowOwner* a_Owner, bool a_bInventoryVisibl
: cWindow( a_Owner, a_bInventoryVisible )
{
SetWindowID( 1 );
- SetWindowType( 1 ); // Workbench
+ SetWindowType( cWindow::Workbench ); // Workbench
cItem* Slots = new cItem[10];
SetSlots( Slots, 10 );