v0.9.3: fixed indicators appearing at the top-left for 1 frame
This commit is contained in:
parent
c4689905bf
commit
77b023d5f6
|
@ -683,28 +683,26 @@ public class GameScene extends PixelScene {
|
|||
|
||||
float pos = scene.toolbar.top();
|
||||
|
||||
scene.attack.setPos( tagLeft, pos - scene.attack.height());
|
||||
scene.attack.flip(tagLeft == 0);
|
||||
if (scene.tagAttack){
|
||||
scene.attack.setPos( tagLeft, pos - scene.attack.height());
|
||||
scene.attack.flip(tagLeft == 0);
|
||||
pos = scene.attack.top();
|
||||
}
|
||||
|
||||
scene.loot.setPos( tagLeft, pos - scene.loot.height() );
|
||||
scene.loot.flip(tagLeft == 0);
|
||||
if (scene.tagLoot) {
|
||||
scene.loot.setPos( tagLeft, pos - scene.loot.height() );
|
||||
scene.loot.flip(tagLeft == 0);
|
||||
pos = scene.loot.top();
|
||||
}
|
||||
|
||||
scene.action.setPos( tagLeft, pos - scene.action.height() );
|
||||
scene.action.flip(tagLeft == 0);
|
||||
if (scene.tagAction) {
|
||||
scene.action.setPos( tagLeft, pos - scene.action.height() );
|
||||
scene.action.flip(tagLeft == 0);
|
||||
pos = scene.action.top();
|
||||
}
|
||||
|
||||
if (scene.tagResume) {
|
||||
scene.resume.setPos( tagLeft, pos - scene.resume.height() );
|
||||
scene.resume.flip(tagLeft == 0);
|
||||
}
|
||||
scene.resume.setPos( tagLeft, pos - scene.resume.height() );
|
||||
scene.resume.flip(tagLeft == 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue
Block a user