mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-17 17:21:05 +00:00
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:
parent
33e59a62cc
commit
57f4dc7338
1 changed files with 3 additions and 3 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue