PLEASE NO RNG

This commit is contained in:
Sally Coolatta 2022-01-05 05:10:09 -05:00 committed by SinnamonLat
parent 10cfc73947
commit 6330501520

View file

@ -469,16 +469,15 @@ void K_RunPaperItemSpawners(void)
firstUnspawnedEmerald firstUnspawnedEmerald
); );
} }
else if (P_RandomChance(FRACUNIT/3)) else
{ {
drop = K_SpawnSphereBox( drop = K_SpawnSphereBox(
spotList[r]->x, spotList[r]->y, spotList[r]->z + (128 * mapobjectscale * flip), spotList[r]->x, spotList[r]->y, spotList[r]->z + (128 * mapobjectscale * flip),
FixedAngle(P_RandomRange(0, 359) * FRACUNIT), flip, FixedAngle(P_RandomRange(0, 359) * FRACUNIT), flip,
10 10
); );
} K_FlipFromObject(drop, spotList[r]);
else
{
drop = K_CreatePaperItem( drop = K_CreatePaperItem(
spotList[r]->x, spotList[r]->y, spotList[r]->z + (128 * mapobjectscale * flip), spotList[r]->x, spotList[r]->y, spotList[r]->z + (128 * mapobjectscale * flip),
FixedAngle(P_RandomRange(0, 359) * FRACUNIT), flip, FixedAngle(P_RandomRange(0, 359) * FRACUNIT), flip,