mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 07:17:58 +01:00
Fix regressions
This commit is contained in:
parent
02b62372cf
commit
49847d1479
2 changed files with 10 additions and 2 deletions
|
@ -101,6 +101,11 @@ public class DismissSpellScreen extends GameGui {
|
|||
matrices.pop();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void renderBackground(DrawContext context, int mouseX, int mouseY, float delta) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean shouldPause() {
|
||||
return false;
|
||||
|
|
|
@ -103,7 +103,7 @@ public class TribeConfirmationScreen extends GameGui implements HidesHud {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void render(DrawContext context, int mouseX, int mouseY, float delta) {
|
||||
public void renderBackground(DrawContext context, int mouseX, int mouseY, float delta) {
|
||||
context.getMatrices().push();
|
||||
context.getMatrices().translate(0, 0, -2);
|
||||
if (parent != null) {
|
||||
|
@ -112,6 +112,7 @@ public class TribeConfirmationScreen extends GameGui implements HidesHud {
|
|||
parent.render(context, -1, -1, delta);
|
||||
context.getMatrices().pop();
|
||||
}
|
||||
renderInGameBackground(context);
|
||||
|
||||
final int columnHeight = 180;
|
||||
final int columnWidth = 310;
|
||||
|
@ -132,9 +133,11 @@ public class TribeConfirmationScreen extends GameGui implements HidesHud {
|
|||
context.drawTexture(TribeSelectionScreen.TEXTURE, left + 35, top, 148, 70, 21, 50);
|
||||
textBody.render(context, mouseX, mouseY, delta);
|
||||
context.getMatrices().pop();
|
||||
|
||||
context.drawTexture(TribeSelectionScreen.TEXTURE, left - 35, top - 5, 10, 70, 69, 50);
|
||||
context.drawTexture(TribeSelectionScreen.TEXTURE, left - 35, top - 15, 10, 70, 69, 50);
|
||||
super.render(context, mouseX, mouseY, delta);
|
||||
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue