mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 22:33:43 -07:00
Simplify a bit
This commit is contained in:
parent
f6fa9762f7
commit
6ddf0a76d7
2 changed files with 2 additions and 10 deletions
|
@ -725,12 +725,6 @@ void TimeSaverOnVanillaBehaviorHandler(GIVanillaBehavior id, bool* should, va_li
|
||||||
if (CVarGetInteger(CVAR_ENHANCEMENT("TimeSavers.SkipMiscInteractions"), IS_RANDO)) {
|
if (CVarGetInteger(CVAR_ENHANCEMENT("TimeSavers.SkipMiscInteractions"), IS_RANDO)) {
|
||||||
EnHeishi2* enHeishi2 = va_arg(args, EnHeishi2*);
|
EnHeishi2* enHeishi2 = va_arg(args, EnHeishi2*);
|
||||||
enHeishi2->unk_2F2[0] = 0;
|
enHeishi2->unk_2F2[0] = 0;
|
||||||
|
|
||||||
if (enHeishi2->cameraId != MAIN_CAM) {
|
|
||||||
Play_ClearCamera(gPlayState, enHeishi2->cameraId);
|
|
||||||
Play_ChangeCameraStatus(gPlayState, MAIN_CAM, CAM_STAT_ACTIVE);
|
|
||||||
}
|
|
||||||
|
|
||||||
*should = false;
|
*should = false;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -510,10 +510,8 @@ void func_80A53F30(EnHeishi2* this, PlayState* play) {
|
||||||
}
|
}
|
||||||
gate = (BgGateShutter*)this->gate;
|
gate = (BgGateShutter*)this->gate;
|
||||||
if ((this->unk_2F2[0] == 0) || (gate->openingState == 0)) {
|
if ((this->unk_2F2[0] == 0) || (gate->openingState == 0)) {
|
||||||
if (GameInteractor_Should(VB_PLAY_KAKARIKO_GATE_CS, true, this)) {
|
Play_ClearCamera(play, this->cameraId);
|
||||||
Play_ClearCamera(play, this->cameraId);
|
Play_ChangeCameraStatus(play, MAIN_CAM, CAM_STAT_ACTIVE);
|
||||||
Play_ChangeCameraStatus(play, MAIN_CAM, CAM_STAT_ACTIVE);
|
|
||||||
}
|
|
||||||
if ((this->unk_30A != 2)) {
|
if ((this->unk_30A != 2)) {
|
||||||
if (this->unk_30A == 0) {
|
if (this->unk_30A == 0) {
|
||||||
this->actor.textId = 0x2015;
|
this->actor.textId = 0x2015;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue