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 the iterator macros I wrote.
[super-star-trek.git]
/
src
/
planets.c
diff --git
a/src/planets.c
b/src/planets.c
index e9cfcc2c7bb38180fd8bfc9d4ab1085e5a31e075..5f31e5de8dcb809b865d47bf1d19fa7c8b4d6338 100644
(file)
--- a/
src/planets.c
+++ b/
src/planets.c
@@
-499,8
+499,8
@@
void deathray(void)
proutn(_("Spock- \"I believe the word is"));
prouts(_(" *ASTONISHING*"));
prout(_(" Mr. Sulu."));
proutn(_("Spock- \"I believe the word is"));
prouts(_(" *ASTONISHING*"));
prout(_(" Mr. Sulu."));
- for
_sectors(i
)
- for
_sectors(j
)
+ for
(i = 1; i <= QUADSIZE; i++
)
+ for
(j = 1; j <= QUADSIZE; j++
)
if (game.quad[i][j] == IHDOT)
game.quad[i][j] = IHQUEST;
prout(_(" Captain, our quadrant is now infested with"));
if (game.quad[i][j] == IHDOT)
game.quad[i][j] = IHQUEST;
prout(_(" Captain, our quadrant is now infested with"));