- 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

@ -460,7 +460,7 @@ bool EV_DoDoor (DDoor::EVlDoor type, line_t *line, AActor *thing,
// run into them (otherwise opening them would be
// a real pain).
{
if (!thing->player || thing->player->isbot)
if (!thing->player || thing->player->Bot.isbot)
return false; // JDC: bad guys never close doors
//Added by MC: Neither do bots.