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/cChestEntity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cChestEntity.cpp') diff --git a/source/cChestEntity.cpp b/source/cChestEntity.cpp index 9ec46014d..d0cd85536 100644 --- a/source/cChestEntity.cpp +++ b/source/cChestEntity.cpp @@ -156,7 +156,7 @@ void cChestEntity::UsedBy( cPlayer & a_Player ) cWindow* Window = new cWindow( this, true ); Window->SetSlots( m_Content, c_ChestHeight*c_ChestWidth ); Window->SetWindowID( 1 ); - Window->SetWindowType( 0 ); + Window->SetWindowType( cWindow::Chest ); Window->SetWindowTitle("UberChest"); OpenWindow( Window ); } -- cgit v1.2.3