shithub: puzzles

Download patch

ref: af010d7283c4b9abbd610c93d9bc49d69e1eccfe
parent: f3f0f009fffc078c441e388ccf7d0bd95dffc621
author: Jonas Kölker <jonaskoelker@yahoo.com>
date: Thu Oct 8 06:47:11 EDT 2015

Remove a redundant line of code.

Setting me->anim_time = 0.0 right before calling midend_finish_move is
redundant, since midend_finish_move itself sets me->anim_time = 0.

--- a/midend.c
+++ b/midend.c
@@ -574,7 +574,6 @@
         me->ourgame->changed_state(me->ui,
                                    me->states[me->statepos-2].state,
                                    me->states[me->statepos-1].state);
-    me->anim_time = 0.0;
     midend_finish_move(me);
     midend_redraw(me);
     midend_set_timer(me);