View Single Post
Re: Buytable SCREWED.
Old
  (#25)
Josh_Borke
Member
 
Status: Offline
Posts: 152
Join Date: Jun 2004
Default Re: Buytable SCREWED. - 17-07-2004

yea, there is, thanks.
bot_buycode.cpp: 210
Code:
  if (pBot->iPrimaryWeapon > -1) {
 				 int index = ListIdWeapon (pBot->iPrimaryWeapon);
 				 if (wapen_tabel[index].priority > wapen_tabel[i].priority)
 					 continue;
  				}
similarly:, bot_buycode.cpp line 282
Code:
if (pBot->iSecondaryWeapon > -1) {
 				 int index = ListIdWeapon(pBot->iSecondaryWeapon);
 				 if (wapen_tabel[index].priority > wapen_tabel[i].priority)
 					 continue;
  				}
also, not to be a pest
bot_buycode.cpp line 254
Code:
 // Buy favorite weapon
 buy_weapon = pBot->ipFavoSecWeapon;
 
 // should be
 
 // Buy favorite weapon
 buy_weapon = pBot->ipFavoSecWeapon;
 bBuyOther = false;

Last edited by Josh_Borke; 17-07-2004 at 05:17..
  
Reply With Quote