I've just noticed a bug in the Inertia solver: if you call it on an
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 26 Dec 2005 11:26:34 +0000 (11:26 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 26 Dec 2005 11:26:34 +0000 (11:26 +0000)
commit2b77bc5bd081a425fa062b8dfbf89302acd62221
tree7cfa2acd8fd3a35e2d0bd39ee04570e908c2459f
parent50082dba92a5534d48b363eda03b466bbaf52283
I've just noticed a bug in the Inertia solver: if you call it on an
already-solved grid (i.e. no gems), it will still attempt to show
you a move you can make. Eliminate that special case.

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@6507 cda61777-01e9-0310-a592-d414129be87e
inertia.c