X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=ai.c;h=d96f747315ebac25962de011493f328d814a85c8;hb=665b7ab04d99076511156ac4da537f0fa144d268;hp=fd9cf8ceecedcc77db509c839758e6a6208b5128;hpb=070639b283c6f4e324a24bbf604f3ce2b6900899;p=super-star-trek.git diff --git a/ai.c b/ai.c index fd9cf8c..d96f747 100644 --- 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");