- Renamed FBot to DBot and made it inherit from DThinker.

- Fixed: Bots added by players other than the net arbitrator did not have their skill set.
This commit is contained in:
ChillyDoom 2014-10-14 19:57:11 +01:00
commit db323643f8
24 changed files with 356 additions and 327 deletions

View file

@ -4228,7 +4228,7 @@ int DLevelScript::DoClassifyActor(int tid)
{
classify |= ACTOR_VOODOODOLL;
}
if (actor->player->Bot.isbot)
if (actor->player->Bot != NULL)
{
classify |= ACTOR_BOT;
}
@ -8632,7 +8632,7 @@ scriptwait:
}
else
{
STACK(1) = players[STACK(1)].Bot.isbot;
STACK(1) = (players[STACK(1)].Bot != NULL);
}
break;