mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-08-13 03:29:19 -04:00
match m_player_item_umbrella
This commit is contained in:
@@ -22,4 +22,4 @@ void Player_actor_Item_draw_axe(ACTOR* actor, GAME* game){
|
||||
|
||||
player->update_item_rod_top_pos = FALSE;
|
||||
player->balloon_start_pos_set_flag = FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
int Player_actor_Item_main_umbrella_normal(ACTOR* actor, GAME* game){
|
||||
Player_actor_Get_umbrella_p(actor,game);
|
||||
return 0;
|
||||
}
|
||||
|
||||
void Player_actor_Item_draw_umbrella(ACTOR* actor, GAME* game){
|
||||
PLAYER_ACTOR* player = (PLAYER_ACTOR*)actor;
|
||||
TOOLS_ACTOR* umbrella = (TOOLS_ACTOR*)Player_actor_Get_umbrella_p(actor,game);
|
||||
|
||||
if(umbrella != NULL){
|
||||
Matrix_get(&umbrella->matrix_work);
|
||||
umbrella->init_matrix = TRUE;
|
||||
}
|
||||
|
||||
player->update_item_rod_top_pos = FALSE;
|
||||
player->balloon_start_pos_set_flag = FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user