diff options
Diffstat (limited to 'code/weapon/Weapon.cs')
| -rw-r--r-- | code/weapon/Weapon.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/code/weapon/Weapon.cs b/code/weapon/Weapon.cs index 6d6fc20..8eafbc3 100644 --- a/code/weapon/Weapon.cs +++ b/code/weapon/Weapon.cs @@ -171,7 +171,7 @@ public partial class Weapon : AnimatedEntity var pos = ray.Position;
bool hit = false;
- foreach (var tr in TraceBullet(pos, pos + forward * 50, 20))
+ foreach (var tr in TraceBullet(pos, pos + forward * 80, 20))
{
tr.Surface.DoBulletImpact(tr);
hit = true;
@@ -202,6 +202,7 @@ public partial class Weapon : AnimatedEntity vm.Model = Model.Load( ViewModelPath );
vm.Owner = Owner;
vm.Parent = Game.LocalPawn;
+ vm.SetAnimParameter( "deploy", true );
ViewModelEntity = vm;
if (!string.IsNullOrEmpty(HandsModelPath))
{
|
