v0.3.1b: fixed a bug where additional actions could occur after the hero falls down a chasm.

This commit is contained in:
Evan Debenham
2015-09-03 17:39:47 -04:00
parent bbf1c1040f
commit 7f5e4a8d22
@@ -992,10 +992,12 @@ public class Hero extends Char {
if (Level.adjacent( pos, target )) {
if (Actor.findChar( target ) == null) {
if (Level.pit[target] && !flying && !Chasm.jumpConfirmed) {
if (!Level.solid[target]) {
if (Level.pit[target] && !flying && !Level.solid[target]) {
if (!Chasm.jumpConfirmed){
Chasm.heroJump(this);
interrupt();
} else {
Chasm.heroFall(target);
}
return false;
}