Revert "- Blood: Repair velocity scaling in ConcussSprite()."

This reverts commit 7da3c62ea8.

* 7554808104 has the proper fix.
This commit is contained in:
Mitchell Richters 2023-04-16 16:11:42 +10:00
parent 7cd42e740d
commit 96f7d95801

View file

@ -2573,7 +2573,7 @@ static void ConcussSprite(DBloodActor* source, DBloodActor* actor, const DVector
if (mass > 0)
{
auto tex = TexMan.GetGameTexture(actor->spr.spritetexture());
double size = tex->GetDisplayWidth() * actor->spr.scale.X * tex->GetDisplayHeight() * actor->spr.scale.Y * (1. / 0x100000);
double size = tex->GetDisplayWidth() * actor->spr.scale.X * tex->GetDisplayHeight() * actor->spr.scale.Y * (1. / 0x20000);
actor->vel += vect * Scale(damage, size, mass);
}
}