Fix XSCREEN4 sprite rendering
This commit is contained in:
1 parent
195a472f15
commit
965ece4db0
1 file changed
+4
-2
+4
-2
@@ -640,6 +640,8 @@ 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;
|
||||||
@@ -689,9 +691,9 @@ class Sprite
|
|||||||
aspect = disw2 / dish2;
|
aspect = disw2 / dish2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!visibles[dis])
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
if (!visibles[dis])
|
|
||||||
continue;
|
|
||||||
int x, y;
|
int x, y;
|
||||||
if(sprite.parent)
|
if(sprite.parent)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user