From e08e932e7a2342c0a20e752fbbc8f0316f729e62 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Tue, 21 Apr 2015 23:29:50 +0200 Subject: Narrowed WindowID to use only 7 bits. Ref.: http://forum.mc-server.org/showthread.php?tid=1876 --- src/UI/Window.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/UI/Window.h') diff --git a/src/UI/Window.h b/src/UI/Window.h index 9821aade1..156028465 100644 --- a/src/UI/Window.h +++ b/src/UI/Window.h @@ -185,7 +185,7 @@ protected: cWindowOwner * m_Owner; - static char m_WindowIDCounter; + static Byte m_WindowIDCounter; /// Sets the internal flag as "destroyed"; notifies the owner that the window is destroying virtual void Destroy(void); -- cgit v1.2.3