Blood: fixed bad random shifts for directional vectors.

This commit is contained in:
Christoph Oelckers 2024-02-05 00:02:20 +01:00
parent 292c20842d
commit c9a610fea6

View file

@ -60,9 +60,9 @@ AISTATE tinycaleb139698 = { kAiStateOther, 8, -1, 120, NULL, aiMoveTurn, NULL, &
void SeqAttackCallback(int, DBloodActor* actor) void SeqAttackCallback(int, DBloodActor* actor)
{ {
DVector3 vect(actor->spr.Angles.Yaw.ToVector(), actor->dudeSlope); DVector3 vect(actor->spr.Angles.Yaw.ToVector(), actor->dudeSlope);
vect.X += Random2F(1500, 4); vect.X += Random2F(1500, 14);
vect.Y += Random2F(1500, 4); vect.Y += Random2F(1500, 14);
vect.Z += Random2F(1500, 8); vect.Z += Random2F(1500, 14);
for (int i = 0; i < 2; i++) for (int i = 0; i < 2; i++)
{ {