fixed bad randoms in aicaleb.cpp.

Value range for velocity vectors was Q14.16 in Blood's fixed point format so the numbers here must be scaled accordingly.
This commit is contained in:
Christoph Oelckers 2024-02-04 12:14:37 +01:00
parent 33e59a62cc
commit 57f4dc7338

View file

@ -66,9 +66,9 @@ void SeqAttackCallback(int, DBloodActor* actor)
for (int i = 0; i < 2; i++)
{
double r3 = Random3F(500, 4);
double r2 = Random3F(1000, 4);
double r1 = Random3F(1000, 8);
double r3 = Random3F(500, 14);
double r2 = Random3F(1000, 14);
double r1 = Random3F(1000, 14);
actFireVector(actor, 0, 0, vect + DVector3(r1, r2, r3), kVectorShell);
}
if (Chance(0x8000))