- fixed A_Burst's velocity calculation.

This commit is contained in:
Christoph Oelckers 2016-05-24 09:32:30 +02:00
parent 1b1195df6a
commit 3bde8824a3
1 changed files with 1 additions and 1 deletions

View File

@ -3439,7 +3439,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_Burst)
if (mo)
{
mo->Vel.Z = 4 * (mo->Z() - self->Z()) * self->Height;
mo->Vel.Z = 4 * (mo->Z() - self->Z()) / self->Height;
mo->Vel.X = pr_burst.Random2() / 128.;
mo->Vel.Y = pr_burst.Random2() / 128.;
mo->RenderStyle = self->RenderStyle;