AIF_ASSASSIN check fix.
This commit is contained in:
parent
965b47d44c
commit
d871e48144
|
@ -366,7 +366,7 @@ static int selectWeaponForTarget(Entity *e)
|
||||||
self->selectedGunType = self->guns[0].type;
|
self->selectedGunType = self->guns[0].type;
|
||||||
|
|
||||||
/* if you're an assassin, just kill the target */
|
/* 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)
|
if (e->flags & EF_MUST_DISABLE)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue