projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Web page now published. Add material to the history section of the docs.
[super-star-trek.git]
/
ai.c
diff --git
a/ai.c
b/ai.c
index 291c2f7bc99c6799b9ec3d8aa2fa55c7171161dd..1e70f2a72c84f7865cdac3cf46ee27abf62d8c2c 100644
(file)
--- a/
ai.c
+++ b/
ai.c
@@
-378,7
+378,7
@@
void scom(int *ipage)
#endif
/* Decide on being active or passive */
#endif
/* Decide on being active or passive */
- flag = ((
game.state.killc+game.state.killk
)/(game.state.date+0.01-indate) < 0.1*skill*(skill+1.0) ||
+ flag = ((
NKILLC+NKILLK
)/(game.state.date+0.01-indate) < 0.1*skill*(skill+1.0) ||
(game.state.date-indate) < 3.0);
if (iscate==0 && flag) {
/* compute move away from Enterprise */
(game.state.date-indate) < 3.0);
if (iscate==0 && flag) {
/* compute move away from Enterprise */