MCPcopy Create free account
hub / github.com/OpenDUNE/OpenDUNE / Explosion_Func_Stop

Function Explosion_Func_Stop

src/explosion.c:205–214  ·  view source on GitHub ↗

* Stop performing an explosion. * @param e The Explosion to end. * @param parameter Unused parameter. */

Source from the content-addressed store, hash-verified

203 * @param parameter Unused parameter.
204 */
205static void Explosion_Func_Stop(Explosion *e, uint16 parameter)
206{
207 VARIABLE_NOT_USED(parameter);
208
209 g_map[Tile_PackTile(e->position)].hasExplosion = false;
210
211 Explosion_Update(0, e);
212
213 e->commands = NULL;
214}
215
216/**
217 * Set timeout for next the activity of \a e.

Callers 2

Explosion_StopAtPositionFunction · 0.85
Explosion_TickFunction · 0.85

Calls 1

Explosion_UpdateFunction · 0.85

Tested by

no test coverage detected