Play SFX on destroying wooden tile

scene_man
En Yi 2023-11-16 00:02:52 +08:00
parent 85e731392a
commit bfab7df718
1 changed files with 1 additions and 0 deletions

View File

@ -1701,6 +1701,7 @@ void boulder_destroy_wooden_tile_system(Scene_t* scene)
if (tilemap.tiles[tile_idx].tile_type == ONEWAY_TILE)
{
play_sfx(scene->engine, WOOD_DESTROY_SFX);
destroy_tile(data, tile_idx);
if (tile_x > 0 && tilemap.tiles[tile_idx - 1].tile_type == ONEWAY_TILE)
{