From b2d0ed63d84439298bc0e2c55ef54231c18867ec Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 26 Jul 2015 15:47:19 -0400 Subject: [PATCH] v0.3.1: followup tweaks to the descending gong changes. --- .../shatteredpixeldungeon/scenes/GameScene.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/scenes/GameScene.java b/src/com/shatteredpixel/shatteredpixeldungeon/scenes/GameScene.java index 75bb6736e..131ff77e8 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/scenes/GameScene.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/scenes/GameScene.java @@ -260,11 +260,11 @@ public class GameScene extends PixelScene { log.setRect( 0, toolbar.top(), attack.left(), 0 ); add( log ); - if (Dungeon.depth <= Statistics.deepestFloor) { + if (Dungeon.depth < Statistics.deepestFloor) { GLog.i(TXT_WELCOME_BACK, Dungeon.depth); } else { GLog.i(TXT_WELCOME, Dungeon.depth); - Sample.INSTANCE.play(Assets.SND_DESCEND); + if (InterlevelScene.mode == InterlevelScene.Mode.DESCEND) Sample.INSTANCE.play(Assets.SND_DESCEND); } switch (Dungeon.level.feeling) {