From: Holger Schemel Date: Mon, 7 Feb 2022 18:19:41 +0000 (+0100) Subject: removed unused variable X-Git-Tag: 4.3.1.1~4 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=e803858fbf06157b1ae1e6c60da0d695cffa8345;p=rocksndiamonds.git removed unused variable --- diff --git a/src/tools.c b/src/tools.c index ad4170e6..0872e24b 100644 --- a/src/tools.c +++ b/src/tools.c @@ -5381,7 +5381,6 @@ unsigned int MoveDoor(unsigned int door_state) int num_move_steps = 0; // number of animation steps for all doors int max_move_delay_doors_only = 0; // delay for doors only (no panel) int num_move_steps_doors_only = 0; // steps for doors only (no panel) - int current_move_delay = 0; int start = 0; int k; @@ -5641,8 +5640,6 @@ unsigned int MoveDoor(unsigned int door_state) SkipUntilDelayReached(&door_delay, door_delay_value, &k, last_frame); - current_move_delay += max_step_delay; - // prevent OS (Windows) from complaining about program not responding CheckQuitEvent(); }