Fix smoke and gravity issue

Smoke used to fly higher with gravity 40 than with gravity 10. Fixed
this by using a start value. At default gravity, light smoke will fly
rise a little higher now, and heavy smoke behaves the same.
With higher gravity the smoke may fall to the ground now.
master
Mark 2018-12-27 20:30:58 +01:00
parent d0756e3b1c
commit 94e200f201
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ global func Particles_Smoke(bool heavy)
{
CollisionVertex = 500,
OnCollision = PC_Stop(),
ForceY = PV_Gravity(-100 + heavy*90),
ForceY = PV_Gravity(100 + heavy*400, -10),
ForceX = PV_Wind(200 - heavy*180),
DampingX = 900, DampingY = 900,
Alpha = PV_Linear(255, 0),