summaryrefslogtreecommitdiffstats
path: root/source/cCraftingWindow.cpp
diff options
context:
space:
mode:
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 );