Update GravityBomb velocity after position
Otherwise launch velocity would already be Velocity + Acceleration.
This commit is contained in:
@@ -74,8 +74,8 @@ namespace OpenRA.Mods.Common.Projectiles
|
|||||||
|
|
||||||
public void Tick(World world)
|
public void Tick(World world)
|
||||||
{
|
{
|
||||||
velocity += acceleration;
|
|
||||||
pos += velocity;
|
pos += velocity;
|
||||||
|
velocity += acceleration;
|
||||||
|
|
||||||
if (pos.Z <= args.PassiveTarget.Z)
|
if (pos.Z <= args.PassiveTarget.Z)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user