View Single Post
  #5  
Old 12-24-2015, 07:12 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

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?
Reply With Quote