1
0

Fix XSCREEN4 sprite animation

This commit is contained in:
otya128
2016-12-05 23:59:54 +09:00
parent 965ece4db0
commit 16a0fbd83a

View File

@@ -567,7 +567,7 @@ class Sprite
SpriteBucket* bucketsptr; SpriteBucket* bucketsptr;
void render() void render()
{ {
if (!visibles[0] && !visibles[1]) if ((!visibles[0] && !visibles[1]) || (petitcom.xscreenmode == 2 && !visibles[0]))
{ {
foreach(ref sprite; sprites) foreach(ref sprite; sprites)
{ {
@@ -640,8 +640,6 @@ class Sprite
int dis; int dis;
if(petitcom.xscreenmode == 2) if(petitcom.xscreenmode == 2)
{ {
if (!visibles[0])
return;
disw = 160f; disw = 160f;
disw2 = 320f; disw2 = 320f;
dish = 240f; dish = 240f;