View Single Post
Mystery solved.
Old
  (#4)
Zybby
Member
 
Status: Offline
Posts: 8
Join Date: May 2009
Location: Smelly Brighton UK
Default Mystery solved. - 26-06-2009

Oops, my bad, you were right Cheeseh.
I was sure I'd put the debug message stuff at the start of BotThink(),
but I must have been mistaken about that.
The dead checking code only considers a bot to be alive when: pEdict->v.deadflag == 0.
When a bot has feigned death pEdict->v.deadflag is set to 5, so the bot is considered dead.
I could update the dead checking code in the future or handle feigned spies beforehand.
Decisions, decisions...
  
Reply With Quote