mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Monitors reset PR_ITEM_SPAWNER, not PR_ITEM_ROULETTE
This commit is contained in:
parent
4e15a28963
commit
a42c5b749f
1 changed files with 3 additions and 3 deletions
|
|
@ -325,10 +325,10 @@ kill_monitor_part (mobj_t *part)
|
||||||
static inline UINT32
|
static inline UINT32
|
||||||
restore_item_rng (UINT32 seed)
|
restore_item_rng (UINT32 seed)
|
||||||
{
|
{
|
||||||
const UINT32 oldseed = P_GetRandSeed(PR_ITEM_ROULETTE);
|
const UINT32 oldseed = P_GetRandSeed(PR_ITEM_SPAWNER);
|
||||||
|
|
||||||
P_SetRandSeedNet(PR_ITEM_ROULETTE,
|
P_SetRandSeedNet(PR_ITEM_SPAWNER,
|
||||||
P_GetInitSeed(PR_ITEM_ROULETTE), seed);
|
P_GetInitSeed(PR_ITEM_SPAWNER), seed);
|
||||||
|
|
||||||
return oldseed;
|
return oldseed;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue