projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix several minor bugs reported by Stas Sergeev.
[super-star-trek.git]
/
ai.c
diff --git
a/ai.c
b/ai.c
index fd9cf8ceecedcc77db509c839758e6a6208b5128..d96f747315ebac25962de011493f328d814a85c8 100644
(file)
--- a/
ai.c
+++ b/
ai.c
@@
-370,8
+370,8
@@
void scom(int *ipage)
{
int i, i2, j, ideltax, ideltay, ibqx, ibqy, sx, sy, ifindit, iwhichb;
int iqx, iqy;
- int basetbl[BASEMAX];
- double bdist[BASEMAX];
+ int basetbl[BASEMAX
+1
];
+ double bdist[BASEMAX
+1
];
int flag;
#ifdef DEBUG
if (idebug) prout("SCOM");