- removed a redundant Vec3Offset call in A_SpawnParticle.

This commit is contained in:
Christoph Oelckers 2016-04-03 21:03:49 +02:00
commit 02a586e6b2
2 changed files with 1 additions and 2 deletions

View file

@ -3038,7 +3038,6 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_SpawnParticle)
acc.X = accelx * c + accely * s;
acc.Y = accelx * s - accely * c;
}
pos = self->Vec3Offset(xoff, yoff, zoff);
P_SpawnParticle(self->Vec3Offset(pos), vel, acc, color, !!(flags & SPF_FULLBRIGHT), startalpha, lifetime, size, fadestep);
}
return 0;