Skip to content

Commit

Permalink
Fixed bug in code that might have had no impact on the actual game
Browse files Browse the repository at this point in the history
  • Loading branch information
KovaaK committed Aug 29, 2023
1 parent 1a9f3fb commit d558c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/combat.c
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ void T_Damage(gedict_t *targ, gedict_t *inflictor, gedict_t *attacker, float dam
|| dtTELE2 == targ->deathtype // always do tele damage
|| dtTELE3 == targ->deathtype // always do tele damage
|| dtSUICIDE == targ->deathtype // do suicide damage anyway
|| (dtTRIGGER_HURT && cvar("k_smashmode")))) // and if we're in smash mode, do trigger_hurt damage too
|| (dtTRIGGER_HURT == targ->deathtype && cvar("k_smashmode")))) // and if we're in smash mode, do trigger_hurt damage too
{
return;
}
Expand Down

0 comments on commit d558c20

Please sign in to comment.