From ca36ba9bfda3a810b05f99233d9ae41e5a98abf8 Mon Sep 17 00:00:00 2001 From: Colby Swandale Date: Sun, 18 Sep 2016 23:28:05 +1000 Subject: [PATCH] fixed sprites not being transparent on pixel data 0 --- lib/waterfoul/gpu.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/waterfoul/gpu.rb b/lib/waterfoul/gpu.rb index 764f7d2..7921c77 100644 --- a/lib/waterfoul/gpu.rb +++ b/lib/waterfoul/gpu.rb @@ -247,7 +247,7 @@ module Waterfoul elsif (byte_1 & shift == shift) && (byte_2 & shift == 0x0) pixel = 2 elsif (byte_1 & shift == 0x0) && (byte_2 & shift == 0x00) - pixel = 0 + next end buffer_x = sprite_x + pixelx