Skip to content

Commit

Permalink
Fix penguin angle
Browse files Browse the repository at this point in the history
Co-Authored-By: Sam Vanheer <[email protected]>
  • Loading branch information
sabianroberts and SamVanheer committed Dec 2, 2024
1 parent c01d44a commit 3f136de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SourceCode/dlls/op4_weapons/CPenguin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ void CPenguin::PrimaryAttack()
m_pPlayer->SetAnimation(PLAYER_ATTACK1);

#ifndef CLIENT_DLL
auto penguin = CBaseEntity::Create("monster_penguin", tr.vecEndPos, pev->v_angle, m_pPlayer->edict());
auto penguin = CBaseEntity::Create("monster_penguin", tr.vecEndPos, m_pPlayer->pev->v_angle, m_pPlayer->edict());

penguin->pev->velocity = m_pPlayer->pev->velocity + (gpGlobals->v_forward * 200);
#endif
Expand Down

0 comments on commit 3f136de

Please sign in to comment.