Skip to content

Commit

Permalink
Removed null check
Browse files Browse the repository at this point in the history
After some more mapper feedback, decided to remove the null check for input activators.
  • Loading branch information
Hat-Kid authored and Gocnak committed Nov 10, 2019
1 parent 575b46b commit 9abfa52
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions mp/src/game/server/momentum/mom_generic_bomb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,6 @@ void CMomGenericBomb::Event_Killed(const CTakeDamageInfo &info)
// same as above but traces the activator as the damage owner
void CMomGenericBomb::InputDetonate(inputdata_t &inputdata)
{
if (inputdata.pActivator)
{
CTakeDamageInfo info(this, inputdata.pActivator, m_flDamage, DMG_GENERIC);
Event_Killed(info);
}
}
}

0 comments on commit 9abfa52

Please sign in to comment.