Fix test for water in explore
This led to a bogus message when an interactive explore moved onto a bridge and got prompted, the bridge was destroyed, and the player stopped the explore "on the water".
This commit is contained in:
parent
fc807a4c0a
commit
5a1cfeba95
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ explore(void)
|
|||
putsect(§);
|
||||
return RET_FAIL;
|
||||
}
|
||||
if (chksect.sct_type == '.') {
|
||||
if (chksect.sct_type == SCT_WATER) {
|
||||
pr("Bridge disappeared!\n");
|
||||
getsect(start.sct_x, start.sct_y, &start);
|
||||
start.sct_flags &= ~MOVE_IN_PROGRESS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue