aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/shared/gamerules.h
diff options
context:
space:
mode:
Diffstat (limited to 'mp/src/game/shared/gamerules.h')
-rw-r--r--mp/src/game/shared/gamerules.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mp/src/game/shared/gamerules.h b/mp/src/game/shared/gamerules.h
index 6d99f64f..4b2f5124 100644
--- a/mp/src/game/shared/gamerules.h
+++ b/mp/src/game/shared/gamerules.h
@@ -271,7 +271,7 @@ public:
// Client damage rules
virtual float FlPlayerFallDamage( CBasePlayer *pPlayer ) = 0;// this client just hit the ground after a fall. How much damage?
- virtual bool FPlayerCanTakeDamage( CBasePlayer *pPlayer, CBaseEntity *pAttacker ) {return TRUE;};// can this player take damage from this attacker?
+ virtual bool FPlayerCanTakeDamage( CBasePlayer *pPlayer, CBaseEntity *pAttacker, const CTakeDamageInfo &info ) {return TRUE;};// can this player take damage from this attacker?
virtual bool ShouldAutoAim( CBasePlayer *pPlayer, edict_t *target ) { return TRUE; }
virtual float GetAutoAimScale( CBasePlayer *pPlayer ) { return 1.0f; }
virtual int GetAutoAimMode() { return AUTOAIM_ON; }