projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rnd-19980918
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index efcba4dbc2ba57b619a2291a2ac4477977a558e5..08c6dc68d3a63e814933be8b4a285e60dbc89549 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-1538,8
+1538,7
@@
unsigned int MoveDoor(unsigned int door_state)
for(x=start; x<=DXSIZE; x+=stepsize)
{
- while(!DelayReached(&door_delay, door_delay_value/10))
- Delay(1);
+ WaitUntilDelayReached(&door_delay, door_delay_value);
if (door_state & DOOR_ACTION_1)
{