Fix melee weapon effects being offset incorrectly (#4102)
This commit is contained in:
@@ -77,8 +77,8 @@ namespace Content.Client.GameObjects.EntitySystems
|
|||||||
Coordinates = attacker.Transform.Coordinates,
|
Coordinates = attacker.Transform.Coordinates,
|
||||||
Color = Vector4.Multiply(new Vector4(255, 255, 255, 125), 1.0f),
|
Color = Vector4.Multiply(new Vector4(255, 255, 255, 125), 1.0f),
|
||||||
ColorDelta = Vector4.Multiply(new Vector4(0, 0, 0, -10), 1.0f),
|
ColorDelta = Vector4.Multiply(new Vector4(0, 0, 0, -10), 1.0f),
|
||||||
Velocity = msg.Angle.ToVec(),
|
Velocity = msg.Angle.ToWorldVec(),
|
||||||
Acceleration = msg.Angle.ToVec() * 5f,
|
Acceleration = msg.Angle.ToWorldVec() * 5f,
|
||||||
Born = curTime,
|
Born = curTime,
|
||||||
DeathTime = curTime.Add(TimeSpan.FromMilliseconds(300f)),
|
DeathTime = curTime.Add(TimeSpan.FromMilliseconds(300f)),
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user