mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- fixed typo with RNG name.
This commit is contained in:
parent
9661c3b53c
commit
bfffe6df3e
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ extend class Actor
|
||||||
A_PlaySound(AttackSound, CHAN_WEAPON);
|
A_PlaySound(AttackSound, CHAN_WEAPON);
|
||||||
A_FaceTarget();
|
A_FaceTarget();
|
||||||
double slope = AimLineAttack(angle, MISSILERANGE);
|
double slope = AimLineAttack(angle, MISSILERANGE);
|
||||||
double ang = angle + Random2[SPosAttack]() * (22.5/256);
|
double ang = angle + Random2[CPosAttack]() * (22.5/256);
|
||||||
int damage = Random[CPosAttack](1, 5) * 3;
|
int damage = Random[CPosAttack](1, 5) * 3;
|
||||||
LineAttack(ang, MISSILERANGE, slope, damage, "Hitscan", "Bulletpuff");
|
LineAttack(ang, MISSILERANGE, slope, damage, "Hitscan", "Bulletpuff");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue