Skip to content

Commit cb8a002

Browse files
committed
1 parent 1f85e83 commit cb8a002

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

game/quiver/info_changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Blacklists:
3131
Added the following Source SDK Pull Requests:
3232
- #1466: MAX_MENU_STRING increase (increased to 4096 characters)
3333
- #1469: Fix Sappers becoming indestructible under certain circumstances
34+
- #1470: Fix ownerless sentry rockets dealing no damage
3435

3536
Details:
3637
- Fixed a bug where the mini-crit damage effect doesn't show up when your shield breaks.

src/game/shared/tf/tf_weaponbase_rocket.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,11 @@ void CTFBaseRocket::Explode( trace_t *pTrace, CBaseEntity *pOther )
484484
// Damage.
485485
CBaseEntity *pAttacker = GetOwnerEntity();
486486
IScorer *pScorerInterface = dynamic_cast<IScorer*>( pAttacker );
487+
#ifdef BDSBASE
488+
if (pScorerInterface && pScorerInterface->GetScorer())
489+
#else
487490
if ( pScorerInterface )
491+
#endif
488492
{
489493
pAttacker = pScorerInterface->GetScorer();
490494
}

0 commit comments

Comments
 (0)