From deff331e5f8d46215b967b7eaa7f64b13878785a Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Wed, 24 Feb 2016 19:01:42 +0000 Subject: Bridges: use the new findloop for loop detection. Bridges only needs a loop detector for its non-default 'don't allow loops' mode. But the one it had was using the graph-pruning strategy, which means it had the dumb-bell bug - two loops joined by a path would highlight the path as well as the loops. Switching to the new findloop system fixes that bug. A side effect is that I've been able to remove the 'scratch' array from the game_state, which was only used by the old loop finder, so that should save memory. --- bridges.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridges.R') diff --git a/bridges.R b/bridges.R index ea9f186..75df309 100644 --- a/bridges.R +++ b/bridges.R @@ -1,6 +1,6 @@ # -*- makefile -*- -BRIDGES_EXTRA = dsf +BRIDGES_EXTRA = dsf findloop bridges : [X] GTK COMMON bridges BRIDGES_EXTRA bridges-icon|no-icon -- cgit v1.1