Gamerules: DamageRadius check argument is of type bool now
This commit is contained in:
parent
ffce52aa2c
commit
a901c060cb
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue