X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.c;h=7a4f101441a034297fd0ea207fbe1fdeda18fb70;hb=3fb68b18f28034e492534fb3b5579fd1da888292;hp=979eead935e254fe9a62febb76a90bb2a6290194;hpb=0d0e1a63d6b14109b64805bcb1a45ddf469ba35d;p=rocksndiamonds.git diff --git a/src/tools.c b/src/tools.c index 979eead9..7a4f1014 100644 --- a/src/tools.c +++ b/src/tools.c @@ -2056,8 +2056,8 @@ unsigned int MoveDoor(unsigned int door_state) static int door1 = DOOR_OPEN_1; static int door2 = DOOR_CLOSE_2; static unsigned long door_delay = 0; - int x, start, stepsize = 2; - unsigned long door_delay_value = stepsize * 5; + int x, start, stepsize = global.door_step_offset; + unsigned long door_delay_value = global.door_step_delay; if (door_state == DOOR_GET_STATE) return(door1 | door2);