Fixed feed command and white space in tests
[open-adventure.git] / main.c
diff --git a/main.c b/main.c
index 5edcc755389d593929cfac3da0eac26cefb37aa6..59bb4e1fcf5126b76b0f2be2101843a8fd4f402a 100644 (file)
--- a/main.c
+++ b/main.c
@@ -726,8 +726,7 @@ static void playermove( int motion)
                             game.prop[TROLL] = TROLL_PAIDONCE;
                         if (!TOTING(BEAR))
                             return;
-                        rspeak(BRIDGE_COLLAPSE);
-                        game.prop[CHASM] = BRIDGE_WRECKED;
+                        state_change(CHASM, BRIDGE_WRECKED);
                         game.prop[TROLL] = TROLL_GONE;
                         drop(BEAR, game.newloc);
                         game.fixed[BEAR] = IS_FIXED;