mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-10-13 07:25:54 -04:00
Fix the seeding for Dark Link's spot in enemy rando. (#7249)
This commit is contained in:
@@ -828,10 +828,13 @@ void RegisterEnemyRandomizer() {
|
||||
s16 posZ = static_cast<s16>(blkobj->dyna.actor.world.pos.z);
|
||||
s16 rotX = 0;
|
||||
s16 rotY = blkobj->dyna.actor.yawTowardsPlayer;
|
||||
s16 seededRotY = 6969;
|
||||
s16 rotZ = 0;
|
||||
s16 params = 0;
|
||||
|
||||
if (!GetRandomizedEnemy(play, &actorId, &posX, &posY, &posZ, &rotX, &rotY, &rotZ, ¶ms)) {
|
||||
// rotation is hardcoded here as it is inconsistent, breaking seeded randomiser
|
||||
// value provided is the best meme number avalible, theoretically any number works
|
||||
if (!GetRandomizedEnemy(play, &actorId, &posX, &posY, &posZ, &rotX, &seededRotY, &rotZ, ¶ms)) {
|
||||
assert(false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user