From 07fcff1661f2d9290691fb5d4d927c16e027753f Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Mon, 12 Dec 2011 00:38:15 +0100 Subject: [PATCH] dda.c: initialize dda.c properly. --- dda.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dda.c b/dda.c index 0deb8ac..b4c45dd 100644 --- a/dda.c +++ b/dda.c @@ -775,6 +775,7 @@ void dda_step(DDA *dda) { */ uint32_t c_candidate; + dda->c = 0xFFFFFFFF; if (move_state.x_steps) { c_candidate = move_state.x_time + dda->x_step_interval - move_state.all_time; dda->axis_to_step = 'x';