MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / ExplosionLargeTick

Function ExplosionLargeTick

src/effectvehicle.cpp:180–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180static bool ExplosionLargeTick(EffectVehicle *v)
181{
182 v->progress++;
183 if ((v->progress & 3) == 0) {
184 if (!IncrementSprite(v, SPR_EXPLOSION_LARGE_F)) {
185 delete v;
186 return false;
187 }
188 v->UpdatePositionAndViewport();
189 }
190
191 return true;
192}
193
194static void BreakdownSmokeInit(EffectVehicle *v)
195{

Callers

nothing calls this directly

Calls 2

IncrementSpriteFunction · 0.85

Tested by

no test coverage detected