Revert code broken by formatting in c6640cc631

This commit is contained in:
Dan Raviv 2024-04-16 12:59:11 -07:00
parent 5ae86bef38
commit 313f34460f
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ void AIUpdatePathInfo(q_item **node_list, int start, int end) {
// mprintf((0, "end crash loop\n"));
// Reverse the list (so it is what we want)
for (i = 0; i<AIAltPathNumNodes> > 1; i++) {
for (i = 0; i < (AIAltPathNumNodes >> 1); i++) {
int temp;
temp = AIAltPath[i];

View File

@ -178,7 +178,7 @@ void BNode_UpdatePathInfo(pq_item **node_list, int start, int end) {
// mprintf((0, "end crash loop\n"));
// Reverse the list (so it is what we want)
for (i = 0; i<BNode_PathNumNodes> > 1; i++) {
for (i = 0; i < (BNode_PathNumNodes >> 1); i++) {
int temp;
temp = BNode_Path[i];