projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change some ugly and misleading names.
[super-star-trek.git]
/
src
/
ai.c
diff --git
a/src/ai.c
b/src/ai.c
index 99024df9acddcd8b0c05c7ae222de6fad5ee2f9d..1ea8cfa288b329569b8a69a274067be432084ebc 100644
(file)
--- a/
src/ai.c
+++ b/
src/ai.c
@@
-267,7
+267,7
@@
static void movebaddy(coord com, int loccom, feature ienm)
}
}
}
}
-void mov
com
(void)
+void mov
eklings
(void)
/* move a commander */
{
coord w;
/* move a commander */
{
coord w;
@@
-351,10
+351,10
@@
static bool movescom(coord iq, bool flag, bool *ipage)
}
/* check for a helpful planet */
for (i = 0; i < game.inplan; i++) {
}
/* check for a helpful planet */
for (i = 0; i < game.inplan; i++) {
- if (same(game.state.plnets[i].w, game.state.kscmdr) &&
- game.state.plnets[i].crystals == present) {
+ if (same(game.state.pl
a
nets[i].w, game.state.kscmdr) &&
+ game.state.pl
a
nets[i].crystals == present) {
/* destroy the planet */
/* destroy the planet */
- DESTROY(&game.state.plnets[i]);
+ DESTROY(&game.state.pl
a
nets[i]);
game.state.galaxy[game.state.kscmdr.x][game.state.kscmdr.y].planet = NOPLANET;
if (!damaged(DRADIO) || game.condition == docked) {
if (!*ipage)
game.state.galaxy[game.state.kscmdr.x][game.state.kscmdr.y].planet = NOPLANET;
if (!damaged(DRADIO) || game.condition == docked) {
if (!*ipage)