projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Get rid of some macros that block mechanical translation.
[super-star-trek.git]
/
src
/
ai.c
diff --git
a/src/ai.c
b/src/ai.c
index 31d19ad13bdcf06293ab473679a9abfc09a817a5..e0bfb08ad50cfce872446ef883a982a1faa579e1 100644
(file)
--- a/
src/ai.c
+++ b/
src/ai.c
@@
-389,7
+389,7
@@
void supercommander(void)
prout("== SUPERCOMMANDER");
/* Decide on being active or passive */
prout("== SUPERCOMMANDER");
/* Decide on being active or passive */
- avoid = ((
NKILLC+NKILLK
)/(game.state.date+0.01-game.indate) < 0.1*game.skill*(game.skill+1.0) ||
+ avoid = ((
game.incom - game.state.remcom + game.inkling - game.state.remkl
)/(game.state.date+0.01-game.indate) < 0.1*game.skill*(game.skill+1.0) ||
(game.state.date-game.indate) < 3.0);
if (!game.iscate && avoid) {
/* compute move away from Enterprise */
(game.state.date-game.indate) < 3.0);
if (!game.iscate && avoid) {
/* compute move away from Enterprise */