v0.4.2: couple of bugfixes
This commit is contained in:
parent
704b3b6fc8
commit
c1167676b8
|
@ -214,7 +214,8 @@ public class RenderedText extends Image {
|
|||
public void draw() {
|
||||
if (needsRender)
|
||||
render(this);
|
||||
super.draw();
|
||||
if (texture != null)
|
||||
super.draw();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -26,6 +26,7 @@ import com.shatteredpixel.shatteredpixeldungeon.effects.CellEmitter;
|
|||
import com.shatteredpixel.shatteredpixeldungeon.effects.particles.ElmoParticle;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.levels.DeadEndLevel;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.levels.Terrain;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.messages.Languages;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.scenes.GameScene;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.utils.GLog;
|
||||
|
@ -53,8 +54,7 @@ public class Sign {
|
|||
} else {
|
||||
|
||||
//if we are at depths 22-24 and in english
|
||||
if (Dungeon.depth-21 < 3 &&
|
||||
Messages.get(Sign.class, "burn").equals("As you try to read the sign it bursts into greenish flames.")){
|
||||
if (Dungeon.depth-21 <= 3 && Messages.lang() == Languages.ENGLISH){
|
||||
GameScene.show( new WndMessage(teaser_texts[Dungeon.depth-21]));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user