Browse Source

gearbox: penguin: fix wrong comparison

opforfixed
Alibek Omarov 4 years ago
parent
commit
aaf9b6a278
  1. 2
      dlls/gearbox/penguin.cpp

2
dlls/gearbox/penguin.cpp

@ -209,7 +209,7 @@ void CPenguinGrenade::HuntThink(void) @@ -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;
}

Loading…
Cancel
Save