From f98ee885ce9919aff54ec17175d9842bcb43ca5e Mon Sep 17 00:00:00 2001 From: galaxyhaxz Date: Fri, 15 Jun 2018 20:48:12 -0500 Subject: [PATCH] Fix white pixel glitch in light radius How funny, just a simple signage issue :P --- Source/lighting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/lighting.cpp b/Source/lighting.cpp index 2853073..a080c04 100644 --- a/Source/lighting.cpp +++ b/Source/lighting.cpp @@ -1197,7 +1197,7 @@ void __cdecl MakeLightTable() { ++v10; } - if ( v10 == -1 ) + if ( v10 == LOBYTE(-1) ) { v11 = 0; v10 = 0;