mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-06-11 04:37:57 -04:00
Use correct define for item name length
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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));
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user