Skip to content

Commit

Permalink
fix #441
Browse files Browse the repository at this point in the history
  • Loading branch information
exch-bms2 committed May 30, 2019
1 parent 717a8dd commit 9ad94f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bms/player/beatoraja/play/bga/BGAProcessor.java
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,6 @@ public void prepareBGA(long time) {
this.time = -1;
return;
}
rbga = true;
rlayer = true;
for (int i = pos; i < timelines.length; i++) {
final TimeLine tl = timelines[i];
if (tl.getTime() > time) {
Expand Down Expand Up @@ -315,6 +313,7 @@ public void drawBGA(SkinBGA dst, SkinObjectRenderer sprite, Rectangle r) {
} else {
// draw BGA
final Texture playingbgatex = getBGAData(time, playingbgaid, rbga);
rbga = true;
if (playingbgatex != null) {
if (movies[playingbgaid] != null) {
sprite.setType(SkinObjectRenderer.TYPE_FFMPEG);
Expand All @@ -328,6 +327,7 @@ public void drawBGA(SkinBGA dst, SkinObjectRenderer sprite, Rectangle r) {
}
// draw layer
final Texture playinglayertex = getBGAData(time, playinglayerid, rlayer);
rlayer = true;
if (playinglayertex != null) {
if (movies[playinglayerid] != null) {
sprite.setType(SkinObjectRenderer.TYPE_FFMPEG);
Expand Down

0 comments on commit 9ad94f5

Please sign in to comment.