aboutsummaryrefslogtreecommitdiff
path: root/midend.c
diff options
context:
space:
mode:
Diffstat (limited to 'midend.c')
-rw-r--r--midend.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/midend.c b/midend.c
index 070f4f3..6ae10f9 100644
--- a/midend.c
+++ b/midend.c
@@ -212,7 +212,8 @@ static void midend_finish_move(midend_data *me)
flashtime = me->ourgame->flash_length(me->oldstate ? me->oldstate :
me->states[me->statepos-2].state,
me->states[me->statepos-1].state,
- me->oldstate ? me->dir : +1);
+ me->oldstate ? me->dir : +1,
+ me->ui);
if (flashtime > 0) {
me->flash_pos = 0.0F;
me->flash_time = flashtime;
@@ -333,7 +334,7 @@ static int midend_really_process_key(midend_data *me, int x, int y, int button)
} else {
anim_time = me->ourgame->anim_length(oldstate,
me->states[me->statepos-1].state,
- me->dir);
+ me->dir, me->ui);
}
me->oldstate = oldstate;