From 63305015205ee65c1ecc1a49078f0ca6d46bd93f Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Wed, 5 Jan 2022 05:10:09 -0500 Subject: [PATCH] PLEASE NO RNG --- src/k_battle.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/k_battle.c b/src/k_battle.c index c4902fb05..4b8bf219a 100644 --- a/src/k_battle.c +++ b/src/k_battle.c @@ -469,16 +469,15 @@ void K_RunPaperItemSpawners(void) firstUnspawnedEmerald ); } - else if (P_RandomChance(FRACUNIT/3)) + else { drop = K_SpawnSphereBox( spotList[r]->x, spotList[r]->y, spotList[r]->z + (128 * mapobjectscale * flip), FixedAngle(P_RandomRange(0, 359) * FRACUNIT), flip, 10 ); - } - else - { + K_FlipFromObject(drop, spotList[r]); + drop = K_CreatePaperItem( spotList[r]->x, spotList[r]->y, spotList[r]->z + (128 * mapobjectscale * flip), FixedAngle(P_RandomRange(0, 359) * FRACUNIT), flip,