Fix player not being dealt damage on disguise entity damage.
parent
f070e732bd
commit
fdee8560e0
|
@ -1035,7 +1035,7 @@ watchDisguiseDamage()
|
||||||
// sWeapon = string specifying the weapon used (e.g. "claymore_mp")
|
// sWeapon = string specifying the weapon used (e.g. "claymore_mp")
|
||||||
// damagepos = the position damage is coming from
|
// damagepos = the position damage is coming from
|
||||||
// damagedir = the direction damage is moving in
|
// damagedir = the direction damage is moving in
|
||||||
player maps\mp\gametypes\_weapons::damageEnt(type, attacker, amount, "", modelName, point, direction_vec);
|
attacker radiusdamage(player.origin, 4, amount, amount, attacker);
|
||||||
}
|
}
|
||||||
player.disguiseEntity.health = player.health;
|
player.disguiseEntity.health = player.health;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue