From d0a7f9a57d734ce99da262fdf7dd206351fa8ac3 Mon Sep 17 00:00:00 2001 From: "lapayo94@gmail.com" Date: Sun, 25 Dec 2011 13:44:22 +0000 Subject: Code improvements Fixed authentication (Can be activated now) Added MersenneTwister.h Thanks to mtilden ( http://forum.mc-server.org/showthread.php?tid=183&pid=1428#pid1428 and http://forum.mc-server.org/showthread.php?tid=183&pid=1418#pid1418 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@106 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cCraftingWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cCraftingWindow.cpp') 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 ); -- cgit v1.2.3