1
0
mirror of synced 2024-11-28 01:10:53 +01:00

Fix crash with counter and substitute character positions on results

This commit is contained in:
0aubsq 2022-04-05 23:40:36 +02:00
parent aedcec528b
commit 9b4be05138
2 changed files with 10 additions and 4 deletions

View File

@ -229,6 +229,9 @@ namespace TJAPlayer3
else
_ctref[player].t進行();
// Quick fix
if (_ctref[player].n現在の値 >= _ref.Length) return;
// Expend if substitute to match menu size
if (_substitute)
{

View File

@ -218,6 +218,9 @@ namespace TJAPlayer3
else
_ctref[player].t進行();
// Quick fix
if (_ctref[player].n現在の値 >= _ref.Length) return;
// x0.8 if not substitute
if (!_substitute)
{
@ -230,15 +233,15 @@ namespace TJAPlayer3
if (pos % 2 == 0)
{
_ref[_ctref[player].n現在の値].t2D中心基準描画(TJAPlayer3.app.Device,
x,
y + ((_substitute == true) ? 90 : 0)
x - ((_substitute == true) ? 20 : 0),
y - ((_substitute == true) ? 20 : 0)
);
}
else
{
_ref[_ctref[player].n現在の値].t2D中心基準描画Mirrored(TJAPlayer3.app.Device,
1340 - x,
y + ((_substitute == true) ? 90 : 0)
1340 - x - ((_substitute == true) ? 20 : 0),
y - ((_substitute == true) ? 20 : 0)
);
}