mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
We were forgetting to count the final move.
[originally from svn r4176]
This commit is contained in:
3
cube.c
3
cube.c
@ -1046,6 +1046,8 @@ game_state *make_move(game_state *from, int x, int y, int button)
|
||||
ret->facecolours = newcolours;
|
||||
}
|
||||
|
||||
ret->movecount++;
|
||||
|
||||
/*
|
||||
* And finally, swap the colour between the bottom face of the
|
||||
* polyhedron and the face we've just landed on.
|
||||
@ -1097,7 +1099,6 @@ game_state *make_move(game_state *from, int x, int y, int button)
|
||||
ret->sgkey[1] = skey[1];
|
||||
ret->previous = from->current;
|
||||
ret->angle = angle;
|
||||
ret->movecount++;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user