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.