mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- RR: fixed randomization for hitscan weapons.
This commit is contained in:
parent
f9d8763ed5
commit
33002b37a9
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ static void shootweapon(DDukeActor* actor, int p, DVector3 pos, DAngle ang, int
|
|||
{
|
||||
ang += DAngle22_5 / 8 - randomAngle(22.5 / 4);
|
||||
zvel = -ps[p].horizon.sum().asbuildf() / 8;
|
||||
zvel += 128 - (krand() & 255);
|
||||
zvel += 0.5 - krandf(1);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue