match m_player_item_umbrella

This commit is contained in:
Prakxo
2024-08-25 22:16:33 +02:00
parent 4dd0113c11
commit 9e3481e7ca
2 changed files with 18 additions and 1 deletions
+1 -1
View File
@@ -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;
}
}
+17
View File
@@ -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;
}