mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
PLEASE NO RNG
This commit is contained in:
parent
10cfc73947
commit
6330501520
1 changed files with 3 additions and 4 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue