Re: See this !!! -
06-03-2004
This piece of code comes from the POD-bot source code ; I recognize it. This code is part of Count Floyd's BotThink(), which is called in StartFrame() for every valid bot, hence pBot CANNOT be NULL.
your problem may come that pBot->curr_wpt_index is uninitialized (I bet it's -1).
RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
|