1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-21 14:31:17 +00:00

More minor isolated fixes (#1258)

* Fix reversed array access in z_boss_dodongo.c

* Remove useless return in z_en_encount2.c

* Remove some redundant externs or declarations

* Move some undefs to be performed as early as possible

* AudioOcarina_ResetStaffs -> AudioOcarina_ResetStaves

The plural appears to be staves for the music term

* Remove some uses of UNK_PTR

* Use NULL for pointers set to 0 in z_game_dlftbls.c

* Remove useless !! in z_en_tk.c

* Revert "AudioOcarina_ResetStaffs -> AudioOcarina_ResetStaves"

This reverts commit 1b7fe62408.

* Remove more redundant externs from PR suggestion
This commit is contained in:
Roman971 2022-06-05 18:48:44 +02:00 committed by GitHub
parent bd4912a1bd
commit b28ad659e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 12 additions and 33 deletions

View file

@ -55,7 +55,7 @@ static InitChainEntry sInitChain[] = {
};
void func_808C1190(s16* arg0, u8* arg1, s16 arg2) {
if (arg2[arg1] != 0) {
if (arg1[arg2] != 0) {
arg0[arg2 / 2] = 0;
}
}