mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 14:23:44 -07:00
revert forcing rando to at least 1
This commit is contained in:
parent
33d4dc46de
commit
1ca27ba3ba
1 changed files with 0 additions and 6 deletions
|
@ -2,8 +2,6 @@
|
||||||
#include "soh/ShipInit.hpp"
|
#include "soh/ShipInit.hpp"
|
||||||
#include "soh/Enhancements/randomizer/context.h"
|
#include "soh/Enhancements/randomizer/context.h"
|
||||||
|
|
||||||
#define RAND_GET_OPTION(option) Rando::Context::GetInstance()->GetOption(option).Get()
|
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
extern PlayState* gPlayState;
|
extern PlayState* gPlayState;
|
||||||
#include "src/overlays/actors/ovl_En_Niw_Lady/z_en_niw_lady.h"
|
#include "src/overlays/actors/ovl_En_Niw_Lady/z_en_niw_lady.h"
|
||||||
|
@ -14,10 +12,6 @@ void RegisterCuccosToReturn() {
|
||||||
EnNiwLady* enNiwLady = va_arg(args, EnNiwLady*);
|
EnNiwLady* enNiwLady = va_arg(args, EnNiwLady*);
|
||||||
// Override starting Cucco count using setting value
|
// Override starting Cucco count using setting value
|
||||||
enNiwLady->cuccosInPen = 7 - CVarGetInteger(CVAR_ENHANCEMENT("CuccosToReturn"), 7);
|
enNiwLady->cuccosInPen = 7 - CVarGetInteger(CVAR_ENHANCEMENT("CuccosToReturn"), 7);
|
||||||
if (IS_RANDO && enNiwLady->cuccosInPen == 7) {
|
|
||||||
// force at least 1 in rando to test str0
|
|
||||||
enNiwLady->cuccosInPen = 6;
|
|
||||||
}
|
|
||||||
*should = false;
|
*should = false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue