From 5a1cfeba95e8f2fd36477186900b2f64f4254d4b Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Fri, 22 Feb 2008 21:11:30 +0100 Subject: [PATCH] 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". --- src/lib/commands/expl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/commands/expl.c b/src/lib/commands/expl.c index 44988339..4ed6590c 100644 --- a/src/lib/commands/expl.c +++ b/src/lib/commands/expl.c @@ -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;