I looked it over again and finally figured out what you were saying.
Quote:
It's possible for the ai target timer to not be ready in the 'else' clause from above and the code will flow through with the last target..
|
You are saying the timer on this line...
if(AItarget_check_timer->Check())
May would fail and fall through that if statement. Just curious, what about making that if statement into an if/else and making the target null in that else statement?