Gamerules: DamageRadius check argument is of type bool now

This commit is contained in:
Marco Cawthorne 2024-01-05 13:38:17 -08:00
parent ffce52aa2c
commit a901c060cb
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
class HLGameRules:NSGameRules
{
virtual void DamageApply(entity, entity, float, int, damageType_t);
virtual void DamageRadius(vector, entity, float, float, int, int);
virtual void DamageRadius(vector, entity, float, float, bool, int);
virtual void PlayerConnect(NSClientPlayer);
virtual void PlayerDisconnect(NSClientPlayer);
virtual void PlayerKill(NSClientPlayer);

View File

@ -56,7 +56,7 @@ HLGameRules::DamageApply(entity t, entity c, float dmg, int w, damageType_t type
}
void
HLGameRules::DamageRadius(vector org, entity attacker, float dmg, float r, int check, int w)
HLGameRules::DamageRadius(vector org, entity attacker, float dmg, float r, bool check, int w)
{
float new_dmg;
float dist;