AIF_ASSASSIN check fix.

This commit is contained in:
Steve 2016-04-19 12:50:27 +01:00
parent 965b47d44c
commit d871e48144
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ static int selectWeaponForTarget(Entity *e)
self->selectedGunType = self->guns[0].type;
/* if you're an assassin, just kill the target */
if (!(e->aiFlags & AIF_ASSASSIN))
if (!(self->aiFlags & AIF_ASSASSIN))
{
if (e->flags & EF_MUST_DISABLE)
{