diff options
| author | Simon Tatham <anakin@pobox.com> | 2023-01-19 12:47:55 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2023-01-19 12:47:55 +0000 |
| commit | b4aaa11943fb72b09fe173bc97bd9313ff94738c (patch) | |
| tree | 2a15f3eaeaff30978542f40aa5609fca414d6976 /grid.h | |
| parent | b5e02b0b9c1b35b0b907bf6d63e62b9fafd9cb7e (diff) | |
| download | puzzles-b4aaa11943fb72b09fe173bc97bd9313ff94738c.zip puzzles-b4aaa11943fb72b09fe173bc97bd9313ff94738c.tar.gz puzzles-b4aaa11943fb72b09fe173bc97bd9313ff94738c.tar.bz2 puzzles-b4aaa11943fb72b09fe173bc97bd9313ff94738c.tar.xz | |
Tracks: tighten up the 'illegal solve submoves' fix.
Chris mentioned in the commit message that there was a risk that
illegal moves might be permitted when playing on after a solve. So
I've changed the condition so that it depends only on whether the move
_currently being executed_ is a solve, rather than whether there was a
solve action anywhere in the undo history.
(Also, wrapped overlong lines while I was here.)
Diffstat (limited to 'grid.h')
0 files changed, 0 insertions, 0 deletions