Skip to content

Commit

Permalink
fix(zc): apply BS swim sprites compat rule to Zelda 3000 qst
Browse files Browse the repository at this point in the history
This QR is applied to all 1.90 quests, but Zelda 3000 was saved in 1.92
and this visual bug was overlooked.
  • Loading branch information
connorjclark committed Feb 17, 2024
1 parent e342a03 commit 5f7ab3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/qst.cpp
Expand Up @@ -3164,7 +3164,7 @@ int32_t readrules(PACKFILE *f, zquestheader *Header)
if(tempheader.zelda_version>=0x211 && tempheader.build>=18)
set_qr(qr_BROKENSTATUES, 1);
}
if (tempheader.zelda_version <= 0x190)
if (tempheader.zelda_version <= 0x190 || (tempheader.zelda_version == 0x192 && std::string(tempheader.title).starts_with("Zelda 3000\0")))
{
set_qr(qr_COPIED_SWIM_SPRITES, 1);
}
Expand Down
4 changes: 2 additions & 2 deletions tests/replays/zelda_3000/zelda_3000_3_of_5.zplay
Git LFS file not shown

0 comments on commit 5f7ab3c

Please sign in to comment.