Skip to content

Commit

Permalink
Blood: fixed bad random shifts for directional vectors.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Feb 4, 2024
1 parent 292c208 commit c9a610f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/games/blood/src/aicaleb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ AISTATE tinycaleb139698 = { kAiStateOther, 8, -1, 120, NULL, aiMoveTurn, NULL, &
void SeqAttackCallback(int, DBloodActor* actor)
{
DVector3 vect(actor->spr.Angles.Yaw.ToVector(), actor->dudeSlope);
vect.X += Random2F(1500, 4);
vect.Y += Random2F(1500, 4);
vect.Z += Random2F(1500, 8);
vect.X += Random2F(1500, 14);
vect.Y += Random2F(1500, 14);
vect.Z += Random2F(1500, 14);

for (int i = 0; i < 2; i++)
{
Expand Down

0 comments on commit c9a610f

Please sign in to comment.