v0.3.1b: fixed a bug where additional actions could occur after the hero falls down a chasm.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user