- use FString to manage strings in bot code.
This commit is contained in:
parent
6bfdf904b9
commit
5865c4dcca
4 changed files with 23 additions and 44 deletions
|
|
@ -847,7 +847,7 @@ void FLevelLocals::CopyPlayer(player_t *dst, player_t *src, const char *name)
|
|||
if (dst->Bot != nullptr)
|
||||
{
|
||||
botinfo_t *thebot = BotInfo.botinfo;
|
||||
while (thebot && stricmp(name, thebot->name))
|
||||
while (thebot && thebot->Name.CompareNoCase(name))
|
||||
{
|
||||
thebot = thebot->next;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue