gearbox: penguin: fix wrong comparison

This commit is contained in:
Alibek Omarov 2021-02-26 17:57:13 +03:00
parent 562e4bdb64
commit aaf9b6a278

View File

@ -209,7 +209,7 @@ void CPenguinGrenade::HuntThink(void)
pev->velocity = pev->velocity * 0.9;
pev->velocity.z += 8.0;
}
else if (pev->movetype = MOVETYPE_FLY)
else if (pev->movetype == MOVETYPE_FLY)
{
pev->movetype = MOVETYPE_BOUNCE;
}