- fix CIV AI node debug drawing

This commit is contained in:
Ilya Shurumov 2020-10-09 11:09:28 +06:00
parent ce7139b94c
commit f03ac0459f

View File

@ -4097,10 +4097,7 @@ int CivControl(_CAR_DATA * cp)
Debug_AddLineOfs(_zero, ofs, b1p, rrcv);
}
pn++;
if (pn > cp->ai.c.targetRoute + 13)
pn -= 12;
pn = GET_NEXT_NODE(cp, pn);
}
}