View Single Post
Re: YaPB Developer Preview 1.1
Old
  (#26)
Terran
Member
 
Terran's Avatar
 
Status: Offline
Posts: 431
Join Date: Jan 2004
Default Re: YaPB Developer Preview 1.1 - 31-03-2004

I've been lazy and simply copied the working code from my modified 1.1 version.

You didn't include the bot.h in the linkgame.cpp therefore this define wasn't there! I included the bot.h AFTER i changed those lines because of some other errors I got.
I've undone the changes (but kept the bot.h include) and this works too - as expected .

Quote:
m_iChosenGoalIndex = iSourceIndex;
m_flGoalValue = 0.0;
I've added this at the start of the method.
  
Reply With Quote