From 3bde8824a37ae4f2e30eb1efe27e58f36e3ade30 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 24 May 2016 09:32:30 +0200 Subject: [PATCH] - fixed A_Burst's velocity calculation. --- src/thingdef/thingdef_codeptr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thingdef/thingdef_codeptr.cpp b/src/thingdef/thingdef_codeptr.cpp index 04ed1c22c..e003277ad 100644 --- a/src/thingdef/thingdef_codeptr.cpp +++ b/src/thingdef/thingdef_codeptr.cpp @@ -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;