[edit]
I just remembered
it's not double detail names it's MULTIPLE detail names if the map changes a bunch of times
I should probably change the title.. but the thread name from the forum won't change so...
[/edit]
okay i have fixed the bot from having double detailed names when the map changes.
here are the following changes i made to the code.
in bot_globals.h on line 89 I added
Code:
extern bool g_bAddDetails;
in bot_globals.cpp on line 62 I added
Code:
bool g_bAddDetails = TRUE;
in bot.cpp on line 336 I changed from
Code:
if (g_bDetailNames)
to
Code:
if (g_bDetailNames && g_bAddDetails)
on line 344 I added
Code:
g_bAddDetails = TRUE;
in dll.cpp on line 1629 I added
Code:
g_bAddDetails = FALSE;
and that should fix the double detailed names problem.
But of course to all my "bug fixes" it always adds new bugs
and that new bug is...
The bot's name will NOT show the correct personality after the first level change.
It will show the personality it had in the first map.
And to fix this you would need to add a new arg to BotCreate to allow specifying the Personality..
I wasn't sure if everyone here wanted to be able to specify personality or not so I didn't fix this "new" bug.