Skip to content

Commit 128ac7b

Browse files
committed
small fixes
1 parent 369b2dd commit 128ac7b

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

game/quiver/info_changelog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ Details:
99
- Fixed zoomed-in viewmodels flipping upside down at higher FOVs.
1010
- Fixed env_sun sprite disappearing when you look at it.
1111
- Fixed issues with the inventory system.
12+
- Updated items_game to reflect the latest TF2 update.
13+
- Added the following Source SDK Pull Requests:
14+
- #1466: MAX_MENU_STRING increase (increased to 4096 characters)
1215

1316
Quiver Private Alpha 1.1.0:
1417
Whitelists:

src/game/server/tf/tf_player.cpp

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9454,7 +9454,10 @@ END_DATADESC()
94549454

94559455
void CTFPlayer::BreakArmor(const CTakeDamageInfo& info, CTFPlayer* pTFAttacker, int bitsDamage, bool bNoArmor)
94569456
{
9457-
if (m_Shared.IsInvulnerable() || DoesDamagePenetrateArmor(info, bitsDamage))
9457+
if (m_Shared.IsInvulnerable())
9458+
return;
9459+
9460+
if (DoesDamagePenetrateArmor(info, bitsDamage))
94589461
return;
94599462

94609463
if (!bNoArmor)
@@ -12801,8 +12804,9 @@ void CTFPlayer::Event_Killed( const CTakeDamageInfo &info )
1280112804

1280212805
#if defined(QUIVER_DLL)
1280312806
// if we died, and we have armor, break the armor so our shield goes away.
12804-
// if the damage penetrates or we somehow died while in uber, we set the armor value to 0 silently.
12805-
if (!m_Shared.IsInvulnerable() && !DoesDamagePenetrateArmor(info, info.GetDamageType()))
12807+
// if the damage penetrates, we set the armor value to 0 silently.
12808+
if (!DoesDamagePenetrateArmor(info, info.GetDamageType()))
12809+
1280612810
{
1280712811
if (ArmorValue() > 0)
1280812812
{

0 commit comments

Comments
 (0)