projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Further extend test coverage.
[open-adventure.git]
/
actions2.c
diff --git
a/actions2.c
b/actions2.c
index dcc649da04b43856bcace8eab25df80c5168c3f0..f208a4978520ef6c44fa76b92685c2ef56ef27d0 100644
(file)
--- a/
actions2.c
+++ b/
actions2.c
@@
-1,6
+1,4
@@
-#include "misc.h"
-#include "main.h"
-#include "share.h"
+#include "advent.h"
#include "funcs.h"
/* Carry an object. Special cases for bird and cage (if bird in cage, can't
#include "funcs.h"
/* Carry an object. Special cases for bird and cage (if bird in cage, can't
@@
-233,7
+231,7
@@
int throw(FILE *cmdin) {
return(attack(cmdin));
L9172: SPK=48;
return(attack(cmdin));
L9172: SPK=48;
- if(
RAN
(7) < DFLAG) goto L9175;
+ if(
randrange
(7) < DFLAG) goto L9175;
DSEEN[I]=false;
DLOC[I]=0;
SPK=47;
DSEEN[I]=false;
DLOC[I]=0;
SPK=47;