Thread: nitpicks
View Single Post
Re: nitpicks
Old
  (#5)
Josh_Borke
Member
 
Status: Offline
Posts: 152
Join Date: Jun 2004
Default Re: nitpicks - 01-07-2004

another nit pick:

bots shoot when blinded and debug dontshoot is turned on

cosmetic really, but
bot.cpp - line 2789 reads
Code:
if ((RANDOM_LONG(0,100) < ipFearRate) && RANDOM_LONG(0,100) < 50)
should be
Code:
if ((RANDOM_LONG(0,100) < ipFearRate) && RANDOM_LONG(0,100) < 50 && Game.bDoNotShoot == false)
  
Reply With Quote