- Moved bot related variables from player_t into a new FBot class.

This commit is contained in:
ChillyDoom 2014-10-13 18:40:25 +01:00
commit 83d84eaae9
20 changed files with 325 additions and 344 deletions

View file

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