mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- fixed inverse sign for rocket trail particle movement.
This commit is contained in:
parent
db2cef96d6
commit
373c59f924
1 changed files with 2 additions and 2 deletions
|
@ -475,8 +475,8 @@ void P_RunEffect (AActor *actor, int effects)
|
|||
speed = (M_Random () - 128) * (1./200);
|
||||
particle->Vel.X += speed * an.Cos();
|
||||
particle->Vel.Y += speed * an.Sin();
|
||||
particle->Vel.Z -= 1. / 80;
|
||||
particle->Acc.Z -= 1. / 40;
|
||||
particle->Vel.Z += 1. / 80;
|
||||
particle->Acc.Z += 1. / 40;
|
||||
if (M_Random () & 7)
|
||||
particle->color = grey2;
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue