Hi,

I'm using perfect ai with litec and everything worked fine (compute.c) but i found where problem is using beep(); it's in this while loop::
while (paths[(my.start_node - 1) * 50 + (target_node - 1) * node_id * 50 + current_node] != 0)

it cant get into it. that while loop is not true.

is it maybe that i need to use more brackets inside of it like this maybe:
while ((paths[((my.start_node - 1) * 50) + (target_node - 1) * node_id * 50 + current_node]) != 0)


can someone please help me with that?



Ubi bene, ibi Patria.