X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;ds=sidebyside;f=ai.c;h=d96f747315ebac25962de011493f328d814a85c8;hb=8bd7aca563c3a40239992666394fe8ff3f2fd5e3;hp=fd9cf8ceecedcc77db509c839758e6a6208b5128;hpb=2c72290cf08d4bb03b3ff26df3a1024c355fbea7;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");