From: Eric S. Raymond Date: Mon, 7 Feb 2005 20:05:12 +0000 (+0000) Subject: Bug fix inbase iteration. X-Git-Tag: 2.0~332 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=dd25f0c92b5510454cce42724be2b25e02a463e7;p=super-star-trek.git Bug fix inbase iteration. --- diff --git a/events.c b/events.c index 4297e1d..a9da410 100644 --- 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) &&