fixed sprites not being transparent on pixel data 0

This commit is contained in:
Colby Swandale 2016-09-18 23:28:05 +10:00
parent c67980d5f8
commit ca36ba9bfd

View file

@ -247,7 +247,7 @@ module Waterfoul
elsif (byte_1 & shift == shift) && (byte_2 & shift == 0x0) elsif (byte_1 & shift == shift) && (byte_2 & shift == 0x0)
pixel = 2 pixel = 2
elsif (byte_1 & shift == 0x0) && (byte_2 & shift == 0x00) elsif (byte_1 & shift == 0x0) && (byte_2 & shift == 0x00)
pixel = 0 next
end end
buffer_x = sprite_x + pixelx buffer_x = sprite_x + pixelx