Skip to content

Commit

Permalink
Fix Penguin grenade changing movetype unconditionally
Browse files Browse the repository at this point in the history
  • Loading branch information
SamVanheer committed Dec 5, 2021
1 parent a979d6f commit 41ad2c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlls/penguin_grenade.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ void CPenguinGrenade::HuntThink()
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;
}
Expand Down

0 comments on commit 41ad2c6

Please sign in to comment.