From 9b27daefc225752f3f24ea862e9c2be13f8addf6 Mon Sep 17 00:00:00 2001 From: jussi Date: Sun, 18 Feb 2024 15:26:21 +0200 Subject: Process renamed to update to be more inline with naming of raylib and common convention. --- examples/resources/lib/bitlib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/resources/lib/bitlib.lua') diff --git a/examples/resources/lib/bitlib.lua b/examples/resources/lib/bitlib.lua index 0cdea4e..246ac29 100644 --- a/examples/resources/lib/bitlib.lua +++ b/examples/resources/lib/bitlib.lua @@ -17,7 +17,7 @@ function bitlib.getBit( v, i ) return false end - return v & ( 1 << i ) > 0 + return 0 < v & ( 1 << i ) end return bitlib -- cgit v1.2.3