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