mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-07-04 21:36:14 -04:00
Desync the great fairy cutscene (#6860)
When 2 players are in the fairy fountain and 1 activates the great fairy cutscene, it can force the other player into the cutscene as well, and I've had some crashes arbitrarily too so this guarentees that doesnt happen.
This commit is contained in:
@@ -69,11 +69,17 @@ void Anchor::HandlePacket_SetFlag(nlohmann::json payload) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Special case: Ignore Tower Collapse timer start.
|
||||
// Special case: Ignore tower collapse timer start, stored 0x36.
|
||||
if (sceneNum == SCENE_GANONS_TOWER_COLLAPSE_EXTERIOR && flagType == FLAG_SCENE_SWITCH && flag == 0x36) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Special case: Ignore Great Fairy cutscenes, stored 0x38.
|
||||
if ((sceneNum == SCENE_GREAT_FAIRYS_FOUNTAIN_MAGIC || sceneNum == SCENE_GREAT_FAIRYS_FOUNTAIN_SPELLS) &&
|
||||
flagType == FLAG_SCENE_SWITCH && flag == 0x38) {
|
||||
return;
|
||||
}
|
||||
|
||||
auto effect = new GameInteractionEffect::SetSceneFlag();
|
||||
effect->parameters[0] = sceneNum;
|
||||
effect->parameters[1] = flagType;
|
||||
|
||||
Reference in New Issue
Block a user