mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-01-30 15:00:13 -05:00
fix build (#4961)
This commit is contained in:
parent
31cd419d6f
commit
744fab4b05
@ -65,7 +65,7 @@ std::vector<AltTrapType> getEnabledAddTraps () {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static void RollRandomTrap(uint32_t seed) {
|
static void RollRandomTrap(uint32_t seed) {
|
||||||
uint32_t finalSeed = seed + (IS_RANDO ? Rando::Context::GetInstance()->GetSettings()->GetSeed() : gSaveContext.ship.stats.fileCreatedAt);
|
uint32_t finalSeed = seed + (IS_RANDO ? Rando::Context::GetInstance()->GetSeed() : gSaveContext.ship.stats.fileCreatedAt);
|
||||||
Random_Init(finalSeed);
|
Random_Init(finalSeed);
|
||||||
|
|
||||||
roll = RandomElement(getEnabledAddTraps());
|
roll = RandomElement(getEnabledAddTraps());
|
||||||
|
Loading…
Reference in New Issue
Block a user