* Perform a bloom explosion, filling the area with spice. * @param packed Center position. * @param houseID %House causing the explosion. */
| 667 | * @param houseID %House causing the explosion. |
| 668 | */ |
| 669 | void Map_Bloom_ExplodeSpice(uint16 packed, uint8 houseID) |
| 670 | { |
| 671 | if (g_validateStrictIfZero == 0) { |
| 672 | Unit_Remove(Unit_Get_ByPackedTile(packed)); |
| 673 | g_map[packed].groundTileID = g_mapTileID[packed] & 0x1FF; |
| 674 | Map_MakeExplosion(EXPLOSION_SPICE_BLOOM_TREMOR, Tile_UnpackTile(packed), 0, 0); |
| 675 | } |
| 676 | |
| 677 | if (houseID == g_playerHouseID) Sound_Output_Feedback(36); |
| 678 | |
| 679 | Map_FillCircleWithSpice(packed, 5); |
| 680 | } |
| 681 | |
| 682 | /** |
| 683 | * Fill a circular area with spice. |
no test coverage detected