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

Function Explosion_Func_SetSpriteID

src/explosion.c:241–246  ·  view source on GitHub ↗

* Set the SpriteID of the Explosion. * @param e The Explosion to change. * @param spriteID The new SpriteID for the Explosion. */

Source from the content-addressed store, hash-verified

239 * @param spriteID The new SpriteID for the Explosion.
240 */
241static void Explosion_Func_SetSpriteID(Explosion *e, uint16 spriteID)
242{
243 e->spriteID = spriteID;
244
245 Explosion_Update(2, e);
246}
247
248/**
249 * Stop any Explosion at position \a packed.

Callers 1

Explosion_TickFunction · 0.85

Calls 1

Explosion_UpdateFunction · 0.85

Tested by

no test coverage detected