mirror of
https://github.com/colby-swandale/waterfoul
synced 2024-12-26 21:58:54 +01:00
fixed sprites not being transparent on pixel data 0
This commit is contained in:
parent
c67980d5f8
commit
ca36ba9bfd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue