v0.8.1: fixed an incorrect sound file when hero steps on hard surfaces

This commit is contained in:
Evan Debenham 2020-05-15 23:22:19 -04:00
parent 9a59fc8a9b
commit 93d95e33ff

View File

@ -1564,7 +1564,7 @@ public class Hero extends Char {
if (Dungeon.level.water[pos]) {
Sample.INSTANCE.play( Assets.Sounds.WATER, 1, Random.Float( 0.8f, 1.25f ) );
} else if (Dungeon.level.map[pos] == Terrain.EMPTY_SP) {
Sample.INSTANCE.play( Assets.Sounds.TRAMPLE, 1, Random.Float( 0.96f, 1.05f ) );
Sample.INSTANCE.play( Assets.Sounds.STURDY, 1, Random.Float( 0.96f, 1.05f ) );
} else if (Dungeon.level.map[pos] == Terrain.GRASS
|| Dungeon.level.map[pos] == Terrain.EMBERS
|| Dungeon.level.map[pos] == Terrain.FURROWED_GRASS){