projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-19981113-3
[rocksndiamonds.git]
/
src
/
tape.c
diff --git
a/src/tape.c
b/src/tape.c
index 9e8e39bc891acd6df9d205afa9844ca8251cabd6..6b43d3186cd24d3f199579829bde2bc7d59afa66 100644
(file)
--- a/
src/tape.c
+++ b/
src/tape.c
@@
-170,11
+170,14
@@
byte *TapePlayAction()
for(i=0; i<MAX_PLAYERS; i++)
joy[i] = tape.pos[tape.counter-1].action[i];
for(i=0; i<MAX_PLAYERS; i++)
joy[i] = tape.pos[tape.counter-1].action[i];
-
- return(joy);
+ }
+ else
+ {
+ for(i=0; i<MAX_PLAYERS; i++)
+ joy[i] = 0;
}
}
- return(
NULL
);
+ return(
joy
);
}
boolean TapePlayDelay()
}
boolean TapePlayDelay()