Fix player not being dealt damage on disguise entity damage.

master
Icedream 2018-03-30 00:45:23 +02:00
parent f070e732bd
commit fdee8560e0
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 1 additions and 1 deletions

View File

@ -1035,7 +1035,7 @@ watchDisguiseDamage()
// sWeapon = string specifying the weapon used (e.g. "claymore_mp")
// damagepos = the position damage is coming from
// 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;
}