Use correct define for item name length

This commit is contained in:
Cuyler36
2025-03-27 03:30:15 -04:00
parent 2954f6edfa
commit 17e3917e88
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ static void Player_actor_Get_scoop_demo_ct(ACTOR* actor) {
mMsg_Window_c* win = mMsg_Get_base_window_p();
PLAYER_ACTOR* player = (PLAYER_ACTOR*)actor;
mPlayer_main_get_scoop_c* main_scoop = &player->main_data.get_scoop;
u8 str[16];
u8 str[mIN_ITEM_NAME_LEN];
mActor_name_t item = main_scoop->item;
mIN_copy_name_str(str, item);
+1 -1
View File
@@ -161,7 +161,7 @@ static void Player_actor_Notice_rod_demo_ct(ACTOR* actor) {
if (type < aGYO_TYPE_NUM + 1) {
if (player->now_main_index == mPlayer_INDEX_NOTICE_ROD) {
mPlayer_main_notice_rod_c* main_notice = &player->main_data.notice_rod;
u8 str[16];
u8 str[mIN_ITEM_NAME_LEN];
if (main_notice->already_collected) {
mIN_copy_name_str(str, uki->get_fish_type_proc(&uki->actor_class));
+1 -1
View File
@@ -126,7 +126,7 @@ static void Player_actor_Pull_net_demo_ct(ACTOR* actor) {
msg_no = Common_Get(now_private)->inventory.pockets[item_idx] + 0x1DC;
}
} else if (main_index == mPlayer_INDEX_PULL_NET) {
u8 str[16];
u8 str[mIN_ITEM_NAME_LEN];
mActor_name_t item;
mPlayer_main_pull_net_c* main_pull = &player->main_data.pull_net;