v0.4.2: fixed a crash involving reading signs on floor 24
This commit is contained in:
parent
2f836069ae
commit
ce16e0c241
|
@ -55,7 +55,7 @@ public class Sign {
|
|||
|
||||
//if we are at depths 22-24 and in english
|
||||
if (Dungeon.depth-21 <= 3 && Messages.lang() == Languages.ENGLISH){
|
||||
GameScene.show( new WndMessage(teaser_texts[Dungeon.depth-21]));
|
||||
GameScene.show( new WndMessage(teaser_texts[Dungeon.depth-22]));
|
||||
}
|
||||
|
||||
Dungeon.level.destroy( pos );
|
||||
|
|
Loading…
Reference in New Issue
Block a user