Skip to content

Commit

Permalink
Merge branch 'master' into experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
sabianroberts committed Dec 13, 2024
2 parents a0205c4 + 3848659 commit 9e593af
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
Binary file modified MapFiles/City.rmf
Binary file not shown.
Binary file modified MapFiles/Crossfire.rmf
Binary file not shown.
Binary file modified MapFiles/Subtarnsit.rmf
Binary file not shown.
Binary file modified MapFiles/Subtransit.rmf
Binary file not shown.
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
4 changes: 2 additions & 2 deletions SourceCode/dlls/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4685,7 +4685,7 @@ void CBasePlayer :: UpdateClientData( void )
}
else if (sv_aura_regeneration.value != 0) // IsObserver || !IsAlive
{
if (pev->armorvalue <= 0)
if (pev->armorvalue < 1)
{
if (!isShieldEmpty && (currentTime - lastShieldSoundTime > 1.0f))
{
Expand All @@ -4705,7 +4705,7 @@ void CBasePlayer :: UpdateClientData( void )
}
}

if (pev->armorvalue < 10)
if (pev->armorvalue >= 1 && pev->armorvalue <= 10)
{
if (!isShieldLow && (currentTime - lastShieldSoundTime > 1.0f)) // 1 second delay
{
Expand Down

0 comments on commit 9e593af

Please sign in to comment.