View Single Post
Re: very simple debugging question (MSVC)
Old
  (#7)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: very simple debugging question (MSVC) - 26-01-2004

I found my bug !!!

the bots' stuck flag was never set because I was resetting their input buttons BEFORE the sensing part of the AI and not AFTER it (and the stuck check evaluates the past frame's input buttons state...)

thank you debugger!



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote