mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-03 02:24:28 +00:00
gearbox: penguin: fix wrong comparison
This commit is contained in:
parent
562e4bdb64
commit
aaf9b6a278
@ -209,7 +209,7 @@ void CPenguinGrenade::HuntThink(void)
|
|||||||
pev->velocity = pev->velocity * 0.9;
|
pev->velocity = pev->velocity * 0.9;
|
||||||
pev->velocity.z += 8.0;
|
pev->velocity.z += 8.0;
|
||||||
}
|
}
|
||||||
else if (pev->movetype = MOVETYPE_FLY)
|
else if (pev->movetype == MOVETYPE_FLY)
|
||||||
{
|
{
|
||||||
pev->movetype = MOVETYPE_BOUNCE;
|
pev->movetype = MOVETYPE_BOUNCE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user