From 09a7bec129dd0e46bc813bde5e8f3bd72cac0a33 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 29 Sep 2012 14:56:33 +0000 Subject: Hopefully fixed creative inventory tossing items out of the window. ( http://forum.mc-server.org/showthread.php?tid=434&pid=4657#pid4657 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@905 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/UI/Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/UI') diff --git a/source/UI/Window.cpp b/source/UI/Window.cpp index ad9ce67c7..2f9dcb7a9 100644 --- a/source/UI/Window.cpp +++ b/source/UI/Window.cpp @@ -100,7 +100,7 @@ void cWindow::Clicked( return; } - if (a_SlotNum == -999) // Outside window click + if (a_SlotNum < 0) // Outside window click { if (a_IsRightClick) { -- cgit v1.2.3