From bfffe6df3ef041e4673b46aa51588b0199c0ef9d Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 7 Nov 2018 19:20:42 +0100 Subject: [PATCH] - fixed typo with RNG name. --- wadsrc/static/zscript/doom/possessed.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadsrc/static/zscript/doom/possessed.txt b/wadsrc/static/zscript/doom/possessed.txt index 51505c80b..0e059792e 100644 --- a/wadsrc/static/zscript/doom/possessed.txt +++ b/wadsrc/static/zscript/doom/possessed.txt @@ -323,7 +323,7 @@ extend class Actor A_PlaySound(AttackSound, CHAN_WEAPON); A_FaceTarget(); 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; LineAttack(ang, MISSILERANGE, slope, damage, "Hitscan", "Bulletpuff"); }