1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-27 23:36:22 +00:00

Mark a bug in En_Tana (#954)

* bug

* Re word the bug to be clearer

* Small edits

* Use Another wording
This commit is contained in:
louist103 2021-09-08 14:26:30 -04:00 committed by GitHub
parent e6edb4b312
commit 90c841c435
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,10 @@ const ActorInit En_Tana_InitVars = {
NULL,
};
static char* sShelfTypes[] = {
//! @bug A third entry is missing here. When printing the string indexed by `params` for type 2, the
//! next data entry will be dereferenced and print garbage, stopping any future printing.
//! In a non-matching context, this can cause a crash if the next item isn't a valid pointer.
static const char* sShelfTypes[] = {
"木の棚", // "Wooden Shelves"
"石の棚", // "Stone Shelves"
};