projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More magic-number hunting -- BASEMAX this time.
[super-star-trek.git]
/
ai.c
diff --git
a/ai.c
b/ai.c
index db9de871bc6b154eb3face6016ef430eba3c1a1e..1367f43747ead849898d1ed5450e4c80ff7498fe 100644
(file)
--- a/
ai.c
+++ b/
ai.c
@@
-364,8
+364,8
@@
static int movescom(int iqx, int iqy, int flag, int *ipage) {
void scom(int *ipage) {
int i, i2, j, ideltax, ideltay, ibqx, ibqy, sx, sy, ifindit, iwhichb;
int iqx, iqy;
- int basetbl[
6
];
- double bdist[
6
];
+ int basetbl[
BASEMAX
];
+ double bdist[
BASEMAX
];
int flag;
#ifdef DEBUG
if (idebug) prout("SCOM");