projects
/
super-star-trek.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bd7aca
)
Bug fix inbase iteration.
author
Eric S. Raymond
<esr@thyrsus.com>
Mon, 7 Feb 2005 20:05:12 +0000
(20:05 +0000)
committer
Eric S. Raymond
<esr@thyrsus.com>
Mon, 7 Feb 2005 20:05:12 +0000
(20:05 +0000)
events.c
patch
|
blob
|
history
diff --git
a/events.c
b/events.c
index 4297e1d3c2f8194d10dc46d9a0f9197d32a3b287..a9da410909b97badf86f593851c40f6b83049509 100644
(file)
--- a/
events.c
+++ b/
events.c
@@
-177,7
+177,7
@@
void events(void)
break;
}
i = 0;
- for_
commanders
(j) {
+ for_
starbases
(j) {
for_commanders(k)
if (game.state.baseqx[j]==game.state.cx[k] && game.state.baseqy[j]==game.state.cy[k] &&
(game.state.baseqx[j]!=quadx || game.state.baseqy[j]!=quady) &&