* Check if there is a bloom at the location, and make it explode if needed. * @param e The Explosion to perform the explosion on. * @param parameter Unused parameter. */
| 155 | * @param parameter Unused parameter. |
| 156 | */ |
| 157 | static void Explosion_Func_BloomExplosion(Explosion *e, uint16 parameter) |
| 158 | { |
| 159 | uint16 packed; |
| 160 | |
| 161 | VARIABLE_NOT_USED(parameter); |
| 162 | |
| 163 | packed = Tile_PackTile(e->position); |
| 164 | |
| 165 | if (g_map[packed].groundTileID != g_bloomTileID) return; |
| 166 | |
| 167 | Map_Bloom_ExplodeSpice(packed, g_playerHouseID); |
| 168 | } |
| 169 | |
| 170 | /** |
| 171 | * Set the animation of a Explosion. |
no test coverage detected